-->
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.  [ 1 post ] 
Author Message
 Post subject: default-lazy="false" and lazy="false" not working?
PostPosted: Sun May 30, 2010 3:04 pm 
Newbie

Joined: Mon Dec 07, 2009 12:14 am
Posts: 2
Hi, I've got a Hibernate mapped object that contains a set of other object that contains a set of user defined type enums. I'm setting default-lazy="false" at the top of my mapping file and even setting lazy="false" on the two levels of collections, but if I don't force the object to be fully loaded as soon as I get it back from Hibernate and pass it back to my remote client, I get lazy initialization exceptions everytime.

Has anyone seen this problem before? I'm running Hibernate 3.2.7. with Java 1.6.


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

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.