Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Default transaction Attribute value

 
krishna bulusu
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have the following code:

What would be the default transaction attribute value for the deleteManager method.
Why I am asking this question is:
I am not specifying the transaction attribute value and trying to delete the manager, it is working fine where as if I am specifying the following value it throws exception saying transaction is required

Could anyone take up this?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By default, the value of the transaction attribute for a method of a bean with container-managed transaction demarcation is the REQUIRED transaction attribute
 
krishna bulusu
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh..That answered the question.
Thanks Christophe!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic