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 deadlock situation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "deadlock situation" Watch "deadlock situation" New topic
Author

deadlock situation

Kame
Greenhorn

Joined: Sep 07, 2001
Posts: 1
Hi, Could some one tell me how to avoid deadlock situation in JAVA. I am having try-catch-finally blocks to execute a query, and catch the exception. If a SQLerror code of -803 occurs, I want to try to execute the query again and I want to repeat the process until the session times out without actually throwing an exception. In all other cases, I just throw an exception.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: deadlock situation
 
Similar Threads
Basic question about Exception
is it a DeadLock Condition?
How can a deadlock occur in a thin client?
Retry on getting exception
deadlock