This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

trans-attribute in ejb-jar.xml for MDB  RSS feed

 
Shaily Sharma
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
could anyone pls tell me the significance of
"trans-attribute" if set to:
1) "NotSupported" :
2) "Supports"/"Required"(difference?):

I have written MDB which has DB transaction to populate values from DB table, which attribute is suitable in this scenario.

Thanks in advance.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shaily,
"Not supported" means the MDB won't use a transaction. "Required" means the MDB will use a transaction. "Supported" does not apply to MDBs. In a session bean, it is used to mean the caller may or may not supply a transaction.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!