aspose 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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: DB Locks
 
Similar Threads
Closing of connection object in Stateless Session Beans
EJB opening too many connections to DB
Transaction EJB session bean
WebSphere transaction timeout
This weeks Giveaway