This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Default transaction Attribute value  RSS feed

 
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
Boost this thread!