-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: difference between lazy="true" and lazy="prox
PostPosted: Fri Apr 03, 2009 9:08 am 
Newbie

Joined: Thu Apr 02, 2009 1:06 pm
Posts: 6
Hi ,

Can anybody plz let me know difference between lazy="true" and lazy="proxy".


Thanks in Advance.........


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 03, 2009 3:58 pm 
Newbie

Joined: Thu Oct 09, 2008 12:51 pm
Posts: 7
you're comparing apples to oranges. You can't put "proxy" in the same place "true" would go.

Read the manual here:
http://www.hibernate.org/hib_docs/refer ... mance.html

Also find the section of the manual pertaining to collection mappings as well, read that too.

Simple answer:
Lazy=true is for property and entities. Lazy=proxy is for collections.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 03, 2009 9:48 pm 
Newbie

Joined: Thu Apr 02, 2009 1:06 pm
Posts: 6
Thank u so much for sending reply....

can u plz let me know about lazy="non-proxy"


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.