File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Does the container call setRollbackOnly() method? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Does the container call setRollbackOnly() method?" Watch "Does the container call setRollbackOnly() method?" New topic
Author

Does the container call setRollbackOnly() method?

Alibabra Sanjie
Ranch Hand

Joined: Feb 09, 2004
Posts: 147
Does the container call setRollbackOnly() method to mark for Rollback when the container receive an system Exception, and it is in a client initiated transaction?


Alibabra
Roger Chung-Wee
Ranch Hand

Joined: Sep 29, 2002
Posts: 1683
setRollbackOnly() is for the the bean provider to use. When a transaction needs to be rolled back, the Container will typically instruct the transaction manager to mark the transaction for rollback.


SCJP 1.4, SCWCD 1.3, SCBCD 1.3
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does the container call setRollbackOnly() method?