On Tue, 03 May 2005 01:31:59 +0200, Gavin King <[EMAIL PROTECTED]> wrote:

Yes, you're misunderstanding.

If I say lazy="false", it should *always* be eager fetched.

ok got it! Like it! But we need to make it *very* clear in the release notes.

/max


There's nothing wrong with fetch="join" lazy="true" if you want flexibility.

-----Original Message-----
From: Max Andersen
Sent: Monday, 2 May 2005 5:48 PM
To: Gavin King; Christian Bauer; hibernate-devel@lists.sourceforge.net
Subject: Re: [Hibernate] New laziness rules


Note that the association-level lazy setting is now *completely
respected*. if I run a HQL query and some of the objects in the
result

set have non-lazy associations, those associations will be
*immediately fetched*.

This one I don't get why we want that ? I actually saw it as a strength that you via the HQL language could override what the static mapping specified....or am i misunderstanding this ?




-- -- Max Rydahl Andersen callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]
http://jboss.com


------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to