unfortunately, the essay statrs out with a false statement. Not all
one-to-one associations default to lazy loading, and in fact for certain
types of one-to-one associations lazy loading is not even possible.
This counts in particular for the case described as "bidirectional
one-to-one association on a foreign key" in section 7.4.2 of the
hibernate reference. In this configuration, the Address->person
association cannot be made to load lazy. |