Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to set ISOLATION levels?  RSS feed

 
Gurumurthy Ramamurthy
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

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?

Thanks,
 
Phani Kumar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In CMT, you have to specify them under ejb-jar.xml. In BMT, use Connection.setTransactionIsolation().
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!