jQuery in Action, 2nd edition*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes UNSPECIFIED TX CONTEXT !! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "UNSPECIFIED TX CONTEXT !!" Watch "UNSPECIFIED TX CONTEXT !!" New topic
Author

UNSPECIFIED TX CONTEXT !!

Marco Lombardo
Ranch Hand

Joined: Jul 05, 2005
Posts: 71
Which are the methods in the three types of EJB (MDB,Entity and Session) that run in the unspecified transaction context?
I refer also to container callback methods.

Thanks
Marco


Team Leader<br />SCJP, SCBCD , SCDJWS, Oracle WebLogic, IBM WebSphere e IBM FileNet Certified<br /> <br /><a href="http://www.marcolombardo.it" target="_blank" rel="nofollow">http://www.marcolombardo.it</a>
B.Sathish
Ranch Hand

Joined: Aug 18, 2005
Posts: 372
This is easy to figure out if you remember all the Bean Things. If you cannot mark a transaction for rollback or check if a transaction is marked for rollback from a method ie you cannot do a setRollbackOnly() or getRollbackOnly() from a method, that method runs in an Unspecified Transaction Context. You don't have to memorize the list
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UNSPECIFIED TX CONTEXT !!
 
Similar Threads
PostConstruct and PreDestroy Callbacks
security context and tx context
Unspecified Transaction context
getUserTransaction method
Transaction Context