Win a copy of Getting started with Java on the Raspberry Pi this week in the Raspberry Pi forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

"Unspecified Transaction Context"

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guyz,,

HFEJB PgNo 499, lists the methods(and circumstances) that might be running in an "Unspecified Transaction Context". It includes

1. Any CMT marked NotSupported, Never or Supports
2. Session bean methods ejbCreate(), ejbRemove(), ejbPassivate(), ejbActivate()
3. CMT message-driven bean methods ejbCreate() and ejbRemove().


My question is are these only methods or circumstances running in an "Unspecified Transaction Context". I think even Entity bean's ejbActivate(), ejbPassivate() methods run in an unspecified transaction context. And are there any more methods or circumstances in this respect.

Thankz,
Puneet
 
Ranch Hand
Posts: 372
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just have a look at bean things. Any method where you cannot mark a transaction for rollback / check whether the transaction is marked for rollback means it is running in an Unspecified Transaction Context
 
Puneet Vashisht
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thankz satish,

that means i'm write then, and ejbActivate() and ejbPassivate() also run in "Unspecified Transaction Context".

thankz
puneet
 
It wasn't my idea to go to some crazy nightclub in the middle of nowhere. I just wanted to stay home and cuddle with this tiny ad:
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic