File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes detect db locks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "detect db locks" Watch "detect db locks" New topic

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:
subject: detect db locks
jQuery in Action, 3rd edition