Skip to content

FIX: rollback connection when autoCommit==true when closing the connection#1

Open
jonasPoehler wants to merge 1 commit intomasterfrom
bugfix/rollback-connection-before-close
Open

FIX: rollback connection when autoCommit==true when closing the connection#1
jonasPoehler wants to merge 1 commit intomasterfrom
bugfix/rollback-connection-before-close

Conversation

@jonasPoehler
Copy link

DB2 does not allow closing connections with autoCommit==true which have not either commitet or rolled back. This occurs when connections have not been used at all or e.g. only been used for the heartbeat (with validate).

@rPraml
Copy link

rPraml commented Feb 24, 2025

This looks fine to me, but I assume this fix/workaround might hide the real error elsewhere in the code. You can provide more details to me in the next days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants