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 JdbcSqliteDriver url parsing when choosing ConnectionManager type #4656

Merged
merged 5 commits into from
Sep 25, 2023

Conversation

05nelsonm
Copy link
Contributor

Fixes #4018

This PR fixes a an issue when choosing which type of ConnectionManager should be utilized, depending on what parameters are passed via url where a static connection is needed to be maintained.

Copy link
Collaborator

@dellisd dellisd left a comment

Choose a reason for hiding this comment

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

Can you add some kind of test for this? e.g. checking that two drivers with a shared cache are actually sharing the cache properly.

@05nelsonm 05nelsonm force-pushed the issue/4018-jdbc-sqlite-conn-manager branch from 69a6919 to 8c0a6f4 Compare September 25, 2023 14:56
@05nelsonm
Copy link
Contributor Author

Can you add some kind of test for this? e.g. checking that two drivers with a shared cache are actually sharing the cache properly.

Added EphemeralTest to module :drivers:driver-test so that they can be re-used for :drivers:native-driver once #3241 is fixed

@dellisd
Copy link
Collaborator

dellisd commented Sep 25, 2023

Thank you for making this fix!

@dellisd dellisd merged commit 267536a into cashapp:master Sep 25, 2023
7 checks passed
@05nelsonm 05nelsonm deleted the issue/4018-jdbc-sqlite-conn-manager branch September 25, 2023 17:16
hfhbd pushed a commit that referenced this pull request Apr 2, 2024
…type (#4656)

* Fix url parsing behavior when choosing connection manager

* Modify class name to be more descriptive of ConnectionManager type

* Add ephemeral unit tests

* Add link to sqlite.org documentation

* Fix documentation
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.

Can't create JDBC shared memory DB
2 participants