*
The moose likes JDBC and the fly likes detect db locks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "detect db locks" Watch "detect db locks" New topic
Author

detect db locks

Nijeesh Balan
Ranch Hand

Joined: Oct 09, 2000
Posts: 116
Hi All,
We have a huge java application. Sometimes we experience database locking problems which we feel is because of db commit / rollback not being handled properly in the code. Is there a way, that this can be detected? some wrapper class or something of that sort which can log if db commit or rollback has not been invoked for insert/update/delete statements.. it would be helpful if u can give some example code.


Thanks & Regards,<br />Nijeesh.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: detect db locks
 
Similar Threads
JDBC Transactions across multiple databases
JDBC manually commit
Session Auto-Comit?
EJB Transactions and Java beans interaction
UserTransaction