I have doubt in whether can I call setRollbackOnly() from ejbRemove() method
of an Entity Bean.
Actually my entity bean has an object, which is the root of a tree of objects.
so whenever my entity bean is removed, i will invoke the delete function on
the tree's root. if any of the node in the tree fails during the deleting from
the database, i throw an exception. my entity bean upon catching the exception
should roll back the whole txn, so that partial deletion of tthe nodes in the
tree are undone.
any suggestions on this ?
tia
Ramji
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".