This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Transaction attribute setting programatically  RSS feed

 
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!