thx 4 your reply, chris.
just to make it clear ...
Do you mean that if "doAnything()" did not catch NoResultException AND did not rethrow NoResultException AND a NoResultException occured in "doAnything()" the transaction would not be rolled back?
How could the CMT-engine differentiate between
a) NoResultExceptions caused during runtime that were not caught
and
b) NoResultExceptions that were explicitly thrown by myself
According to your argumentation
in case a) the transaction will be rolled back
In case b) the transaction will not be rollback
But according to the specification a NoResultException MUST NOT roll back the current transaction (no matter if case a) or case b) occurs).
That doesn´t make sense to me.
Or is there really this kind of differentiation?
[Message sent by forum member 'zebhed' (zebhed)]
http://forums.java.net/jive/thread.jspa?messageID=255483