-->
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: CGLIBLazyInitializer Losing Lazy Set
PostPosted: Sat Jun 27, 2009 3:09 pm 
Newbie

Joined: Thu May 05, 2005 8:08 am
Posts: 4
I have a lazy many-to-many Set associated with a parent object. The Set gets updated in a web controller and gets passed on to a DAO to be saved.

The problem is the Set is being set to null when it is passed to the DAO. This is strange as I can see the Set (as the target of a org.hibernate.proxy.CGLIBLazyInitializer) populated by the web controller. Also, the other properties of the object are retained fine while the object is passed to the DAO.

Any ideas why CGLIBLazyInitializer is setting the many-to-many set to null while the object is passed to the DAO? Any help would be greatly appreciated...

Many Thanks!


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.