-->
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: Reattach object to the session
PostPosted: Mon Oct 03, 2005 7:26 am 
Newbie

Joined: Thu Apr 14, 2005 3:28 am
Posts: 7
Location: Moscow, Russia
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


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.