-->
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: How to specify "select-for-update with a wait time"?
PostPosted: Fri Mar 11, 2011 9:25 am 
Newbie

Joined: Fri Mar 11, 2011 9:20 am
Posts: 1
How to specify "select-for-update with a wait time" from Java code using Jdbc and Hibernate?

Hibernate provides lock mode - LockMode.UPGRADE_NOWAIT. What lock mode should be used to WAIT for given time?

We are using ojdbc6.jar (11.1 driver) to connect to database from our Java Code, which is a Java enterprise application running on Weblogic 10.3.3. We are using Hibernate 3.3.2 from our code to do all database operations. Database we are using is Oracle Database 11g Release 11.1.0.7.0 - 64bit Production.


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.