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

Ensure all connections are closed on failure #152

Merged
merged 14 commits into from
Sep 15, 2023
Merged

Conversation

Shmuma
Copy link
Contributor

@Shmuma Shmuma commented Sep 12, 2023

  • update deps
  • fix connection factory created in function (which leads to reestablishment of JDBC connection every request) - it turns out that JDBCAdapter is being recreated on every request anyways, so we have no other option
  • close connections at the end of request
  • unit tests

Closes #151

@Shmuma Shmuma marked this pull request as ready for review September 14, 2023 09:07
doc/changes/changes_11.0.2.md Outdated Show resolved Hide resolved
doc/changes/changes_11.0.2.md Outdated Show resolved Hide resolved
src/main/java/com/exasol/adapter/jdbc/JDBCAdapter.java Outdated Show resolved Hide resolved
Shmuma and others added 4 commits September 14, 2023 19:30
Co-authored-by: Christoph Pirkl <christoph.pirkl@exasol.com>
Co-authored-by: Christoph Pirkl <christoph.pirkl@exasol.com>
Co-authored-by: Christoph Pirkl <christoph.pirkl@exasol.com>
@Shmuma Shmuma requested a review from kaklakariada September 14, 2023 17:37
doc/changes/changes_11.0.2.md Outdated Show resolved Hide resolved
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

83.3% 83.3% Coverage
0.0% 0.0% Duplication

@Shmuma Shmuma merged commit b636605 into main Sep 15, 2023
6 checks passed
@Shmuma Shmuma deleted the bug/151_factory_conn branch September 15, 2023 08:39
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.

Ensure all connections (esp. JDBC) are closed on failure
2 participants