-->
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.  [ 2 posts ] 
Author Message
 Post subject: Got the error java.util.ConcurrentModificationException
PostPosted: Wed Sep 28, 2005 3:41 pm 
Newbie

Joined: Mon Sep 26, 2005 1:21 pm
Posts: 5
From the link below:
http://forum.hibernate.org/viewtopic.ph ... 094edc4cad

I know that two threads are not allowed to hit one session. But what if I need to have multiple threads to access the same objects? (this is needed in our application) How can Hibernate handle that?

Thanks a lot.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 28, 2005 4:38 pm 
Senior
Senior

Joined: Wed Jul 13, 2005 4:31 pm
Posts: 142
Location: Seattle, WA
see the information on detached objects and merge() method

http://www.hibernate.org/hib_docs/v3/reference/en/html/objectstate.html#objectstate-detached


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

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.