Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DIrty,phantom..etc

 
Hari babu
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic