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

mean of Unspecified Trasaction Context

 
Saman Perera
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all

pls explain me abt the Unspecified Trasaction Context which is related to the EJB trasaction

Thanks
Saman
 
Balaji Anand
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The spec lets the container do what ever it wants then.
Page 364 from the spec...

� The Container may execute the method and access the underlying resource managers without a transaction context.
� The Container may treat each call of an instance to a resource manager as a single transaction
(e.g. the Container may set the auto-commit option on a JDBC connection).
� The Container may merge multiple calls of an instance to a resource manager into a single
transaction.
� The Container may merge multiple calls of an instance to multiple resource managers into a
single transaction.
� If an instance invokes methods on other enterprise beans, and the invoked methods are also
designated to run with an unspecified transaction context, the Container may merge the
resource manager calls from the multiple instances into a single transaction.
� Any combination of the above.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic