Skip to content

Conversation

@ennuite
Copy link
Contributor

@ennuite ennuite commented Jan 27, 2026

What's Changed

Closing a Connection when there was one or more unclosed ResultSet that had been obtained
via methods of the interface DatabaseMetaData would generate exceptions due to memory leaks.

Now, closing a Connection will first close all the ResultSet instances obtained from DatabaseMetadata
instances associated with that Connection.

Closes #990.

@ennuite ennuite changed the title [JDBC] Fix memory leak on Connection#close due to unclosed ResultSet(s) GH-990: [JDBC] Fix memory leak on Connection#close due to unclosed ResultSet(s) Jan 27, 2026
@github-actions

This comment has been minimized.

@ennuite ennuite marked this pull request as ready for review January 27, 2026 02:48
@jbonofre jbonofre added the bug-fix PRs that fix a big. label Jan 27, 2026
@jbonofre jbonofre added this to the 19.0.0 milestone Jan 27, 2026
@jbonofre jbonofre merged commit ad59035 into apache:main Jan 27, 2026
26 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix PRs that fix a big.

Projects

None yet

2 participants