Hi all,
I have a SessionBean with a remote method that creates two instences of CMP's. (A and B)
I want to rollback the first ejbCreate (A) when the second ejbCreate fails (B). I deployed the Session bean method
with the transaction-attribute 'RequiresNew'. Both CMP's I deploy with the transaction attribute 'Required'.
Upon an exception I set the ejbcontext with setRollbackOnly(). The transaction is not rolled back.
When I call getRollbackOnly() after the setRollbackOnly() call it still shows false. Does anybody out there
have any ideas what's going on here ? I am using Oracle 8.1.6 .
Thanks
Chris
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger.