This content has been marked as final.
Show 1 reply
-
1. Re: How to catch transaction time out exception?
skjolber May 23, 2008 11:56 AM (in response to avihaimar)Hi,
I have not tried this looking for timeouts, but try controlling the transactions manually using first@TransactionManagement(TransactionManagementType.BEAN)
and@Resource UserTransaction utx;
in the following way:utx.begin(); ... utx.commit();
with exception handling.
However it is not clear from your mail if you actually need a transaction that last for 5+ minutes, or if it just is a long-lasting call that happends to be inside a transaction?
Thomas