Skip to content

Conversation

@rPraml
Copy link
Collaborator

@rPraml rPraml commented Feb 27, 2025

When closeConnectionFully is called (in trim) and the connection may have uncommitted changes, DB2 does not allow to close the connection, so we try to perform a rollback first.

Note: #107 was the originating issue. The fix in https://github.com/ebean-orm/ebean-datasource/pull/108/files#diff-17a97b637b84f5d3e16f487dcd4a8d80d7cdb9f165b528cdc4d495cc93070647R380 should not make this happen by the heartbeat.

Nevertheless, I recommend to perform the rollback here.

@rbygrave rbygrave added this to the 9.3 milestone Feb 27, 2025
@rbygrave rbygrave merged commit 674de26 into ebean-orm:master Feb 27, 2025
1 check passed
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