This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Default behaviour of TransactionAttributeType in case TransactionManagementType.CONTAINER

 
Anurag Blore
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,

If in my stateless bean I have set the TransactionManagementType.CONTAINER(Container Manage Transaction) but I have not set anything in the bean or methods in the bean for
TransactionAttributeType


Then what will be the default value set for TransactionAttributeType, I am asking this in general and if its dependent on the application server then its jboss4.2.
I mean TransactionAttributeType is set to which value: REQUIRED,REQUIRESNEW,NOTSUPPORTED,SUPPORTS...etc.

Thanks,
Anurag
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As per the EJB3 spec section 13.3.7:

By default, the value of the transaction attribute for a method of a bean with container-managed transaction demarcation is the REQUIRED
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic