aspose file tools*
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 Spring in Action this week in the Spring 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: detect db locks