This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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?