File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction Isolation Level

 
seema mani
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I'm confused about the Transaction Isolation level of ejbs.
for eg: The isolation level setting of 'Repeatable Read' is defined in the EJB book by OReilly as follows - The transaction cannot change data that is being read by a different transaction.
My doubt is like this - Suppose there are 2 transactions- t1 and t2. t1 has the isolation level set to 'Repeatable Read' and
t2 has the isolation level set to 'Read Uncommitted'.
Now if t1 reads some data which of the following is true ?
a. t1 cannot change data read by t2
b. t2 cannot change data read by t1
c. both a and b
Please advise even if you feel its a stupid question.
Its just not clicking.
Thanks a lot
seema
 
nan sh
Ranch Hand
Posts: 167
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In your situation, ti and t2 can not be different islation level.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic