Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DIrty,phantom..etc