This content has been marked as final.
Show 1 reply
-
1. Re: TransactionManager.getTransactionTimeout() returns 0
jhalliday Nov 23, 2009 3:46 AM (in response to blabno)In accordance with the semantics of the JTA's setTransactionTimeout method, a 0 values means 'no explicit timeout has been associated to the Thread, so the default applies'. This allows you to distinguish cases where the default is in effect from those where an explicit value that happens to be the same as the default has been set. It does however leave you with the headache of figuring out how to get the default value...