• Post Reply Bookmark Topic Watch Topic
  • New Topic

Transaction attribute setting programatically

 
srinivas k
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
Can any one let me know if it is possible to set transaction attributes programmatically in ejb if yes how can we do that , a code snippet regarding this is appreciated very much.
Thanks in advance
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think it is possible. The container assumes whatever setting is specified in the deployment descriptor will hold good for all beans of the specified type.
Come to think of it, perhaps it was done to reduce the complexity involved in writing a supporting container code....
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!