S
ShadowMan
Hi all
I have a stateles EJBSession that uses container managed transactions.
This EJB acts as facade for 'persisting' system, so it use an Helper that
invocates a series of DAOs.
If something goes wrong I would like to abort (rollback) transaction.
At moment I can see, this is done from container only when the EJB method
throws an Exception.
Can I do it in one of class used by EJB without relying on Exception
mechanism?!
Thanx
I have a stateles EJBSession that uses container managed transactions.
This EJB acts as facade for 'persisting' system, so it use an Helper that
invocates a series of DAOs.
If something goes wrong I would like to abort (rollback) transaction.
At moment I can see, this is done from container only when the EJB method
throws an Exception.
Can I do it in one of class used by EJB without relying on Exception
mechanism?!
Thanx