A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
EJB and other Java EE Technologies
How to set ISOLATION levels?
Joined: Feb 13, 2003
Mar 10, 2005 02:48:00
We know that we have four isolation levels: READ_UNCOMMITED, READ_COMMITED, REPEATABLE_READ, SERIALIZABLE.
In deployment descriptor, we need to set these levels? In case of BMT, where it should be mentioned and in case of CMT, where it should be mentioned?
Joined: Feb 15, 2002
Mar 10, 2005 04:15:00
In CMT, you have to specify them under ejb-jar.xml. In BMT, use Connection.setTransactionIsolation().
It is sorta covered in the
JavaRanch Style Guide
subject: How to set ISOLATION levels?
Transaction isolation level
Transaction Isolation levels in Weblogic
Atomicity and Isolable
Setting BEA Transaction isolation level
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014