• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Transaction

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic