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: Hibernate concurrency problem
PostPosted: Wed Jan 30, 2008 11:48 am 
Newbie

Joined: Wed Jan 23, 2008 12:54 pm
Posts: 3
Hello,

I have two message driven beans and both of them persist entity through entity manager. Both message driven beans work in scope of one shared jta transaction. In this special case is it possible to call EntityManager.persist in those mdbs concurrently or shall I have to synchronize access to entity manager?

Thanks for answer
Best regards
Pavel Kadlec


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 30, 2008 12:03 pm 
Newbie

Joined: Wed Jan 23, 2008 12:54 pm
Posts: 3
I think that not synchronizing the access is source of my problems. Here is link to topic where I describe thrown exceptions http://forum.hibernate.org/viewtopic.php?t=983130


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.