Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Transaction  RSS feed

 
Graham Thorpe
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I heard there MDB can support transaction attribute either "required" or "not support"

what will happend if i set the transaction attribute as "Support"?

Is there any drawbacks ?
 
Sethu Nambiar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Transaction attribute Supports is a kind of good for nothing attribute. If the method is called with an existing transaction context then it will run within that else with an unspecified context.

In the case of MDB there is no client who can propagate the transaction context and hence is not really applicable. Container invoke the onMessage of an MDB. This is my understanding.

-Sethu
[ October 25, 2005: Message edited by: Sethu ]
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Graham Thorpe:
I heard there MDB can support transaction attribute either "required" or "not support"

what will happend if i set the transaction attribute as "Support"?

Is there any drawbacks ?


Supports will not work for MDB.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!