This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JTA Transaction isolation level Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "JTA Transaction isolation level" Watch "JTA Transaction isolation level" New topic
Author

JTA Transaction isolation level

perry arora
Ranch Hand

Joined: Sep 18, 2003
Posts: 35
hi friends ,
Need you help ,
can any one tel me that !
is it possible to set the Transactions isolation level. usign the JTA transaction manager
when we are using the JDBC we can use the java.sql.Connection.SetTransactionIsolation()
wat abt JTA .IS THERE ANY WAY TO CHANGE THE ISOLATION LEVEL WHEN WE ARE USING THE JTA
BUZ WHEN WE USE THE CONTAINER MANAGER TRANSACTION THAT ALSO USES THE JTA INTERNALLY BUT WE CAN NOT CHANGE THE ISOLATION LEVEL FOR THAT IS FIXED TO "READ_COMMIT"...

BUT CAN WE CHANGE THE ISOLATION LEVEL WHEN WE ARE USING BEAN MANAGED TRANSACTION WITH JTA API.

B bye
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
PLEASE DO NOT OVERUSE CAPITALS!!!
As a part of common netiquette, the use of all-uppercase words should be limited to minimum. Your message will go through even better when you resist the temptation to draw attention with such a trick.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8876

When using container managed transaction you can use the vendor specific deployment to set the transaction isolation. For BMT use can use the usual connection.setIsolationLevel()..


Groovy
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JTA Transaction isolation level
 
Similar Threads
what are differences between UserTransaction and EntityTransaction ?
best technology supporting transaction isolation?
Standard JPA and dead locks
transaction isolation
Data concurency