This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
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: 8904

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JTA Transaction isolation level
 
Similar Threads
what are differences between UserTransaction and EntityTransaction ?
transaction isolation
best technology supporting transaction isolation?
Standard JPA and dead locks
Data concurency