This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread 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


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?