hibernate-orm icon indicating copy to clipboard operation
hibernate-orm copied to clipboard

HHH-18491 Do no try to resume non-existant transaction in doInSuspendedTransaction.

Open Siggen opened this issue 1 year ago • 0 comments

This PR avoid calling transactionManager.resume() in JtaIsolationDelegate.doInSuspendedTransaction when no surrounding transaction exists. It fixes an unpleasant warning in Atomikos' transaction manager.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion. For more information on licensing, please check here.


https://hibernate.atlassian.net/browse/HHH-18491

Siggen avatar Aug 15 '24 07:08 Siggen