Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes DIrty,phantom..etc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "DIrty,phantom..etc" Watch "DIrty,phantom..etc" New topic
Author

DIrty,phantom..etc

Hari babu
Ranch Hand

Joined: Jun 25, 2001
Posts: 208
Hi,
If i set the transaction attributes in my deployment descriptor, will the container takes care of Dirty reads,Phantom reads and other transaction related issues ?
Hari
daman sidhu
Ranch Hand

Joined: Aug 19, 2000
Posts: 184
if u set the bean attributes to read serializable it will prevent phantom reads and setting it to read repeatable prevents dirty reads.
Cheers..
Daman
Hari babu
Ranch Hand

Joined: Jun 25, 2001
Posts: 208
Hi,
If my access to entity is wrapped inside the a Stateless Session bean, Should i set the transaction attributes for this stateless session bean method or the entity bean.
Hari
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: DIrty,phantom..etc
 
Similar Threads
JDBC manually commit
Transaction Levels
phantom and dirty read?
data locking
what is a isolation level,is it a concept in EJB or a RDBMS concept?