This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android 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?
 
Similar Threads
rollback() vs setRollbackOnly()
IBM 287 ICE TEST
Mock Question HFEJB page 520. Q3.
new ejbcertificate.com question
rollback() and setRollbackOnly()