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.
|
|