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 DB Locks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "DB Locks" Watch "DB Locks" New topic
Author

DB Locks

raj joe
Ranch Hand

Joined: Mar 17, 2005
Posts: 99
I have the below archieture

Action - Session Bean - DAO -DB
I have configured transcation,"NOT REQUIRED" in the session bean.
I am using MS SQL Server DB. (By Default the isolcation Level is READ COMMITED)

Problem : 1. I get lots of problem with DB locks and dead locks while accessing the application concurrently
2. Get "no data available to read" exception
Note : I user only stored procedures call.ie I use only callable statements.

can u help me out of these problems?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DB Locks