This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes How to set ISOLATION levels? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to set ISOLATION levels?" Watch "How to set ISOLATION levels?" New topic

How to set ISOLATION levels?

Gurumurthy Ramamurthy
Ranch Hand

Joined: Feb 13, 2003
Posts: 273

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?

Phani Kumar

Joined: Feb 15, 2002
Posts: 22
In CMT, you have to specify them under ejb-jar.xml. In BMT, use Connection.setTransactionIsolation().
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: How to set ISOLATION levels?
It's not a secret anymore!