Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Isolation level settings

 
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Transaction isolation level control how concurrently executing transactions are isolated from concurrently executing transactions.
 
Brian Nice
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am still unlcear on what is meant by declarative isolation levels?
Thanks
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Enjoy the full beauty of the english language. Embedded in this tiny ad:
The trailboss has a kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic