This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTA Transaction isolation level

 
perry arora
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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()..
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!