Win a copy of Learn Spring Security (video course) this week in the Spring 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: 8927
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()..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic