This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
This weeks Giveaway
Transaction EJB session bean
WebSphere transaction timeout
EJB opening too many connections to DB