Thread:
 Lazy Loading not always default for ont-to-one 
 Christian Sell   08 May 2006, 04:33 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: Christian Sell (08 May 2006, 04:33) Replies: 0, Views: 27041
Subject: Lazy Loading not always default for ont-to-one
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.
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]