Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

"Unspecified Transaction Context"

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic