Hi,
I use xml-rpc to communicate with the presentation layer.
When I get an object back from presentation I try to reassosiate it with the session. For this I made a call Session.lock(object, LockMode.NONE),
but if my object has a collection I receive an exception reassociated object has dirty collection reference (or an array)
When my xml-rpc framework build up object, it create simple HashSet for collections, not PersistentCollection...
How reattach an object to the new session, if an object was not received from the old session directly (it has not PersistentCollection for collections)?
Thanks
|