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

[4.x] Closeable jdbc pool #8571

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

tomas-langer
Copy link
Member

Description

Resolves #8402

Replacement for #8472 - with my changes (as I cannot push to original branch)

bjcoombs and others added 2 commits March 20, 2024 16:51
- Extended DbClient with AutoCloseable interface
- Updated copyright
@tomas-langer tomas-langer added the contribution A PR contributed from outside of Helidon team. label Mar 27, 2024
@tomas-langer tomas-langer self-assigned this Mar 27, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 27, 2024
@@ -68,9 +68,9 @@ public JdbcClientContext context() {

@Override
public void close() {
if (connectionPool instanceof CloseableJdbcConnectionPool) {
if (connectionPool instanceof CloseableJdbcConnectionPool cjcp) {
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@tomas-langer tomas-langer merged commit e2005e9 into helidon-io:main Apr 25, 2024
12 checks passed
@tomas-langer tomas-langer deleted the 8402-closeable-jdbc-pool branch April 25, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution A PR contributed from outside of Helidon team. OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Close DBClient
3 participants