RE: Transaction behaviour

2001-10-22 Thread Justin Crosbie
Title: RE: Transaction behaviour Hi Ampie,   Thats my problem, merely catching the CreateExceptions, etc and rethrowing as EJBExceptions apears not to be sufficient to guarantee a rollback, I must call setRollbackOnly() prior to rethrowing. Is this for definite? I would have expected that

RE: Transaction behaviour

2001-10-21 Thread Ampie Barnard
Title: RE: Transaction behaviour Orion's implementation is quite correct in returning a method result and not throwing any exceptions, in spite of your invocation of setRollbackOnly. Personally, I only call setRollBackOnly before (re-)throwing an application exception that should defin

Transaction behaviour

2001-10-19 Thread Justin Crosbie
Hi all, We have implemented a session facade architecture, with session beans calling multiple entity beans. We have configured the as "Required" for everything, as normal. What is the exact criteria for a session method to rollback? Is it that it must be a system initiated exception, or else t