Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Transaction attributed for timeout method

 
Himai Minh
Ranch Hand
Posts: 1399
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On Frits' notes p.53 NOT_SUPPORT transaction attribute is applied to timeout callback method.
However, on p.522 of JSR-318, it says REQUIRED or REQUIRES_NEW can be used for timeout callback methods. But this specification does not say NOT_SUPPORT can be used.
 
Charles O'Leary
Ranch Hand
Posts: 61
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



13.3.7Specification of the Transaction Attributes for a Bean’s Methods
.....
For an enterprise bean’s timeout callback methods, only the REQUIRED, REQUIRES_NEW and NOT_SUPPORTED transaction attributes may be used.


p.522 is specific with respect to CMT
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!