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!
|
|