• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set ISOLATION levels?

 
Gurumurthy Ramamurthy
Ranch Hand
Posts: 273
  • 0
  • 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
  • 0
  • 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