From the javadoc of `javax.transaction.Shyncronization`:
Frameworks that rely on `Synchronization` to close connections will not get that callback on rollback, and therefore can't avoid a warning from Agroal when it closes those connections prior to rollback.
The current methods on `io.agroal.api.TransactionIntegration` are not enough to convey the information to the pool that the transaction is about to complete. Adding a `transactionBeforeCompletetion` with the expected transaction outcome, will not only streamline the process on the pool but also make the commit procedure more consistent between XA and non-XA use cases.
NOTE: The warnings may be reinstated in a future version