René's URL Explorer Experiment


Title: GH-932: [JDBC] Fix memory leak on Connection#close due to unclosed Statement(s) by ennuite · Pull Request #933 · apache/arrow-java · GitHub

Open Graph Title: GH-932: [JDBC] Fix memory leak on Connection#close due to unclosed Statement(s) by ennuite · Pull Request #933 · apache/arrow-java

X Title: GH-932: [JDBC] Fix memory leak on Connection#close due to unclosed Statement(s) by ennuite · Pull Request #933 · apache/arrow-java

Description: Official Java implementation of Apache Arrow. Contribute to apache/arrow-java development by creating an account on GitHub.

Open Graph Description: What's Changed Closing a Connection when there was one or more ResultSet that matched the following 2 conditions hadn't been fully consumed was obtained via a Statement instance of this Co...

X Description: What's Changed Closing a Connection when there was one or more ResultSet that matched the following 2 conditions hadn't been fully consumed was obtained via a Statement instance of...

Opengraph URL: https://github.com/apache/arrow-java/pull/933

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:9d038cfd-3304-3143-c6ed-5fe979f9f641
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9098:1ED8:5FF9363:86901DE:6A502757
html-safe-noncea5d77adc792ea07ebbee681ecfeb77616b5ef709d583f0378b9ecbf826291f85
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDk4OjFFRDg6NUZGOTM2Mzo4NjkwMURFOjZBNTAyNzU3IiwidmlzaXRvcl9pZCI6IjMxMTU5Nzc1MzA5OTYyNjMyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac72ba0dbe9e6dab6f22082739a236bc0f096dbce3e916234adeec5010700d6fa2
hovercard-subject-tagpull_request:3100204222
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/apache/arrow-java/933/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8cd19f59d0a12463ffd8aa08c3f8b232f3a1f15cbdbff48dee79e9378a23729a/apache/arrow-java/pull/933
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8cd19f59d0a12463ffd8aa08c3f8b232f3a1f15cbdbff48dee79e9378a23729a/apache/arrow-java/pull/933
og:image:altWhat's Changed Closing a Connection when there was one or more ResultSet that matched the following 2 conditions hadn't been fully consumed was obtained via a Statement instance of this Co...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameennuite
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
turbo-cache-controlno-cache
go-importgithub.com/apache/arrow-java git https://github.com/apache/arrow-java.git
octolytics-dimension-user_id47359
octolytics-dimension-user_loginapache
octolytics-dimension-repository_id893682219
octolytics-dimension-repository_nwoapache/arrow-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id893682219
octolytics-dimension-repository_network_root_nwoapache/arrow-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released90666eaf032b7eb8975a378efe38e37f4ebb96c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/arrow-java/pull/933#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Farrow-java%2Fpull%2F933
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Farrow-java%2Fpull%2F933
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=apache%2Farrow-java
Reloadhttps://github.com/apache/arrow-java/pull/933
Reloadhttps://github.com/apache/arrow-java/pull/933
Reloadhttps://github.com/apache/arrow-java/pull/933
Please reload this pagehttps://github.com/apache/arrow-java/pull/933
apache https://github.com/apache
arrow-javahttps://github.com/apache/arrow-java
Notifications https://github.com/login?return_to=%2Fapache%2Farrow-java
Fork 133 https://github.com/login?return_to=%2Fapache%2Farrow-java
Star 91 https://github.com/login?return_to=%2Fapache%2Farrow-java
Code https://github.com/apache/arrow-java
Issues 422 https://github.com/apache/arrow-java/issues
Pull requests 44 https://github.com/apache/arrow-java/pulls
Discussions https://github.com/apache/arrow-java/discussions
Actions https://github.com/apache/arrow-java/actions
Security and quality 0 https://github.com/apache/arrow-java/security
Insights https://github.com/apache/arrow-java/pulse
Code https://github.com/apache/arrow-java
Issues https://github.com/apache/arrow-java/issues
Pull requests https://github.com/apache/arrow-java/pulls
Discussions https://github.com/apache/arrow-java/discussions
Actions https://github.com/apache/arrow-java/actions
Security and quality https://github.com/apache/arrow-java/security
Insights https://github.com/apache/arrow-java/pulse
jbonofrehttps://github.com/jbonofre
apache:mainhttps://github.com/apache/arrow-java/tree/main
ennuite:fix-memory-leak-statementhttps://github.com/ennuite/arrow-java/tree/fix-memory-leak-statement
Conversationhttps://github.com/apache/arrow-java/pull/933
Commits7 (7)https://github.com/apache/arrow-java/pull/933/commits
Checkshttps://github.com/apache/arrow-java/pull/933/checks
Files changedhttps://github.com/apache/arrow-java/pull/933/files
GH-932: [JDBC] Fix memory leak on Connection#close due to unclosed Statement(s)https://github.com/apache/arrow-java/pull/933#top
jbonofrehttps://github.com/jbonofre
apache:mainhttps://github.com/apache/arrow-java/tree/main
ennuite:fix-memory-leak-statementhttps://github.com/ennuite/arrow-java/tree/fix-memory-leak-statement
https://github.com/ennuite
ennuitehttps://github.com/ennuite
Dec 14, 2025https://github.com/apache/arrow-java/pull/933#issue-3727822566
Please reload this pagehttps://github.com/apache/arrow-java/pull/933
#932https://github.com/apache/arrow-java/issues/932
Please reload this pagehttps://github.com/apache/arrow-java/pull/933
ennuitehttps://github.com/ennuite
December 7, 2025 17:42https://github.com/apache/arrow-java/pull/933#commits-pushed-3c2c004
https://github.com/ennuite
Fix memory leakhttps://github.com/apache/arrow-java/pull/933/commits/3c2c0044817dc3af9693b58fd0844496d4e3620a
3c2c004https://github.com/apache/arrow-java/pull/933/commits/3c2c0044817dc3af9693b58fd0844496d4e3620a
https://github.com/ennuite
Add testhttps://github.com/apache/arrow-java/pull/933/commits/2018ac0febae34cab698ffca76be7331cf388422
2018ac0https://github.com/apache/arrow-java/pull/933/commits/2018ac0febae34cab698ffca76be7331cf388422
https://github.com/ennuite
Refactor ArrowFlightConnection.close()https://github.com/apache/arrow-java/pull/933/commits/87ee7bfe547e7de5df852166be470600db9c1145
87ee7bfhttps://github.com/apache/arrow-java/pull/933/commits/87ee7bfe547e7de5df852166be470600db9c1145
https://github.com/ennuite
Simplify Connection.close() logichttps://github.com/apache/arrow-java/pull/933/commits/5eb999852b3942269615c9717ca214650d2d9891
5eb9998https://github.com/apache/arrow-java/pull/933/commits/5eb999852b3942269615c9717ca214650d2d9891
https://github.com/ennuite
ennuitehttps://github.com/ennuite
jbonofrehttps://github.com/jbonofre
laurentgohttps://github.com/laurentgo
lidavidmhttps://github.com/lidavidm
wgtmachttps://github.com/wgtmac
code ownershttps://github.com/apache/arrow-java/blob/2329174e0bf35733b5ac99b7e36465a601ae20e8/.github/CODEOWNERS#L32
December 14, 2025 18:29https://github.com/apache/arrow-java/pull/933#event-21551250266
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Farrow-java%2Fpull%2F933
https://github.com/ennuite
ennuitehttps://github.com/ennuite
Dec 14, 2025https://github.com/apache/arrow-java/pull/933#issuecomment-3651796107
#932https://github.com/apache/arrow-java/issues/932
Please reload this pagehttps://github.com/apache/arrow-java/pull/933
https://github.com/lidavidm
lidavidmhttps://github.com/lidavidm
enhancement https://github.com/apache/arrow-java/issues?q=state%3Aopen%20label%3Aenhancement
bug-fix https://github.com/apache/arrow-java/issues?q=state%3Aopen%20label%3Abug-fix
enhancement https://github.com/apache/arrow-java/issues?q=state%3Aopen%20label%3Aenhancement
Dec 14, 2025https://github.com/apache/arrow-java/pull/933#event-21551928812
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
18.4.0https://github.com/apache/arrow-java/milestone/3
Dec 14, 2025https://github.com/apache/arrow-java/pull/933#event-21551931369
https://github.com/lidavidm
lidavidmhttps://github.com/lidavidm
Dec 14, 2025 https://github.com/apache/arrow-java/pull/933#pullrequestreview-3575791499
View reviewed changes https://github.com/apache/arrow-java/pull/933/files/5eb999852b3942269615c9717ca214650d2d9891
...t/flight-sql-jdbc-core/src/main/java/org/apache/arrow/driver/jdbc/ArrowFlightConnection.javahttps://github.com/apache/arrow-java/pull/933/files/5eb999852b3942269615c9717ca214650d2d9891#diff-4ccd4a952090b43d4be9e18fddaef7c335f8ab6b387ce9562b071e5b597c12bc
lidavidmhttps://github.com/lidavidm
Dec 14, 2025https://github.com/apache/arrow-java/pull/933#discussion_r2617455594
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apache/arrow-java/pull/933
ennuitehttps://github.com/ennuite
Jan 8, 2026https://github.com/apache/arrow-java/pull/933#discussion_r2673788920
Please reload this pagehttps://github.com/apache/arrow-java/pull/933
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://web.archive.org/web/20090213013250/http://java.sun.com/j2se/1.3/docs/guide/jdbc/spec/jdbc-spec.frame9.htmlhttps://web.archive.org/web/20090213013250/http://java.sun.com/j2se/1.3/docs/guide/jdbc/spec/jdbc-spec.frame9.html
Please reload this pagehttps://github.com/apache/arrow-java/pull/933
https://github.com/jbonofre
jbonofrehttps://github.com/jbonofre
Dec 29, 2025 https://github.com/apache/arrow-java/pull/933#pullrequestreview-3615078972
View reviewed changes https://github.com/apache/arrow-java/pull/933/files/5eb999852b3942269615c9717ca214650d2d9891
jbonofrehttps://github.com/jbonofre
https://github.com/apache/arrow-java/pull/933#pullrequestreview-3615078972
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apache/arrow-java/pull/933
https://github.com/ennuite
Refactor: Ensure all resources are closed when exceptions are thrownhttps://github.com/apache/arrow-java/pull/933/commits/08186a88b60859818ef1ebc1b2f4adce96fd3cdf
08186a8https://github.com/apache/arrow-java/pull/933/commits/08186a88b60859818ef1ebc1b2f4adce96fd3cdf
https://github.com/ennuite
ennuitehttps://github.com/ennuite
kouhttps://github.com/kou
code ownerhttps://github.com/apache/arrow-java/blob/32ea946a99d1a0276fc61390eefd2b9b12a8fcf7/.github/CODEOWNERS#L42
January 8, 2026 20:03https://github.com/apache/arrow-java/pull/933#event-21931595870
https://github.com/ennuite
ennuitehttps://github.com/ennuite
force-pushedhttps://github.com/apache/arrow-java/compare/516ec6b4f575b3be40c83429edb0c36aaf06eb32..08186a88b60859818ef1ebc1b2f4adce96fd3cdf
516ec6bhttps://github.com/apache/arrow-java/commit/516ec6b4f575b3be40c83429edb0c36aaf06eb32
08186a8https://github.com/apache/arrow-java/commit/08186a88b60859818ef1ebc1b2f4adce96fd3cdf
Compare https://github.com/apache/arrow-java/compare/516ec6b4f575b3be40c83429edb0c36aaf06eb32..08186a88b60859818ef1ebc1b2f4adce96fd3cdf
January 8, 2026 20:18https://github.com/apache/arrow-java/pull/933#event-21931889333
ennuitehttps://github.com/ennuite
January 8, 2026 20:21https://github.com/apache/arrow-java/pull/933#commits-pushed-520d980
https://github.com/ennuite
Updated branch from upstreamhttps://github.com/apache/arrow-java/pull/933/commits/520d980c52fa8abc0de88036e61b193ad7e41fbc
520d980https://github.com/apache/arrow-java/pull/933/commits/520d980c52fa8abc0de88036e61b193ad7e41fbc
https://github.com/ennuite
Refactor: Fix formattinghttps://github.com/apache/arrow-java/pull/933/commits/6c81ae08c0505be791e6492acc8622681e77d758
6c81ae0https://github.com/apache/arrow-java/pull/933/commits/6c81ae08c0505be791e6492acc8622681e77d758
https://github.com/jbonofre
jbonofrehttps://github.com/jbonofre
7e61d46https://github.com/apache/arrow-java/commit/7e61d462c094ff9eb3a692176b040a08f81654fe
Jan 22, 2026https://github.com/apache/arrow-java/pull/933#event-22217339810
Please reload this pagehttps://github.com/apache/arrow-java/pull/933
https://github.co/hiddenchars
https://github.com/apache/arrow-java/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Farrow-java%2Fpull%2F933
https://github.com/lidavidm
lidavidm https://github.com/lidavidm
https://github.com/apache/arrow-java/pull/933/files/5eb999852b3942269615c9717ca214650d2d9891
https://github.com/jbonofre
jbonofre https://github.com/jbonofre
https://github.com/apache/arrow-java/pull/933/files/5eb999852b3942269615c9717ca214650d2d9891
https://github.com/laurentgo
laurentgo https://github.com/laurentgo
https://github.com/wgtmac
wgtmac https://github.com/wgtmac
https://github.com/kou
kou https://github.com/kou
bug-fix https://github.com/apache/arrow-java/issues?q=state%3Aopen%20label%3Abug-fix
19.0.0 https://github.com/apache/arrow-java/milestone/3
JDBC driver: Closing a Connection does not close its Statement(s), potentially leading to exceptions related to memory leaks https://github.com/apache/arrow-java/issues/932
Please reload this pagehttps://github.com/apache/arrow-java/pull/933
https://github.com/ennuite
https://github.com/jbonofre
https://github.com/lidavidm
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.