Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #375 #376

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Conversation

JackSullivan
Copy link
Member

Description

Added SQLDBConfig::getStatementAndConnection method and deprecated SQLDBConfig::getStatement, switching SQLDatasource to use the latter. This deals with a leak where getStatement wasn't closing DB connections

Motivation

Fix #375

Added `SQLDBConfig::getStatementAndConnection` method and deprecated
`SQLDBConfig::getStatement`, switching `SQLDatasource` to use the
latter. This deals with a leak where `getStatement` wasn't closing DB
connections
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 15, 2024
Copy link
Member

@Craigacp Craigacp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Craigacp Craigacp merged commit 0c99100 into oracle:main Aug 15, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SQLDataSource does not close connections
2 participants