This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes Transaction Isolation Level Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Transaction Isolation Level" Watch "Transaction Isolation Level" New topic
Author

Transaction Isolation Level

seema mani
Ranch Hand

Joined: Sep 30, 2001
Posts: 49
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


Sun Certified Java Programmer<br />Sun Certified Web Component Developer<br />Sun Certified Business Component Developer
nan sh
Ranch Hand

Joined: Jan 05, 2001
Posts: 167
In your situation, ti and t2 can not be different islation level.


Have you tried this Mock Exam Testing Engine yet?<br /><a href="http://www.mycgiserver.com/~nan111/index.html" target="_blank" rel="nofollow">www.mycgiserver.com/~nan111/index.html</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transaction Isolation Level