This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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!