File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Record getting locked Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Record getting locked" Watch "Record getting locked" New topic
Author

Record getting locked

Mani Balasubramanian
Greenhorn

Joined: Jan 03, 2002
Posts: 15
Hi,
In our application, we have to perform lot of checks in the database.
Right now we are doing these thru' stored procedure (One procedure per check). These procudures returns the status of the check(true or false) as well as the data that are failed during the check. The data is returned in the form of OracleTypes.CURSOR (ResultSet).
In JSP, if the a check fails, we are putting the callablestatement in the session.
In another page we take the callablestatement from the session, execute it and traverse the resultset to display the datas that are failed during the check.
In this process, some records are getting locked (intermittent). We cant able to simulate a particular scenario where this is happening. Eventhough it is happening very rarely, it is a very serious problem for us.
Any clue or suggestion please...
Thanks,
Mani
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Record getting locked
 
Similar Threads
connecting java with plsql
Stored Procedure Problem
Regarding reultset in stored procedures
how to close unused open cursors
How to call procedure in JDBC