• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"Unspecified Transaction Context"

 
Puneet Vashisht
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
 
B.Sathish
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic