This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Isolation level settings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Isolation level settings" Watch "Isolation level settings" New topic
Author

Isolation level settings

Brian Nice
Ranch Hand

Joined: Nov 02, 2000
Posts: 195
On question #1 in the mock exam, what is meant by declarative isolation levels and how is that different from transaction demarcation? I thought the transaction levels provided the isolation levels.
Thanks
Brian
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

Transaction isolation level control how concurrently executing transactions are isolated from concurrently executing transactions.


Groovy
Brian Nice
Ranch Hand

Joined: Nov 02, 2000
Posts: 195
I am still unlcear on what is meant by declarative isolation levels?
Thanks
Kathy Sierra
Cowgirl and Author
Ranch Hand

Joined: Oct 10, 2002
Posts: 1572
Howdy -- well, there IS no way to set declarative isolation levels in EJB 2.0 (or EJB 1.1 -- and I can't remember now, but I'm pretty sure that you *could* do it in EJB 1.0... and it turned out to be a disaster so they got rid of it). If you COULD do "declarative isolation levels" it would mean that you could use the DD to, say, set things to allow/control for non-repeatable reads, dirty reads, phantom reads...
So, there is NOTHING in the EJB 2.0 spec that addresses isolation levels, so if you see something on the exam about isolation, run in the opposite direction Isolation levels can be set only at the individual resource level, programmatically, or of course through administration of the database itself.
cheers,
Kathy
 
Consider Paul's rocket mass heater.
 
subject: Isolation level settings
 
Similar Threads
understanding of isolation level
is it possible to obtian the entire persitent object map from the session?
Oracle order of insertion
does EJB2.0 supports transaction isolation levels?
Serious Problem... Help needed Urgently....