Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Timeout problem with Spring and Atomikos [SPR-14239] #18812
When using Spring and Atomikos, the timeout of a transaction is propagated to the next transaction in the same thread.
Referenced from: commits 1be544f
Juergen Hoeller commented
To my surprise, the JTA 1.2
Even if Java EE arrangements typically interpret this as applying to the next transaction on the current thread only, the definition does imply that all subsequent transactions on the current thread could use this timeout. So to be on the safe side, we should explicitly reset the timeout through a