-->
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: Concurrency control
PostPosted: Sun Oct 17, 2004 1:03 pm 
Newbie

Joined: Sat Oct 16, 2004 2:26 pm
Posts: 1
Hello....

I have a system using JBoss + Hibernate that access a database (for example Oracle) and another one in .Net that access the same database, what happens if this second one try to access a data that it's being using
by the first one.

The Hibernate lock tells to the database to lock the objects that i'm using?

Thanks very much for the help...
Ledyv


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 17, 2004 1:05 pm 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
the best way is that both of your apps use optimistic lock with versionning.

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


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.