-
Notifications
You must be signed in to change notification settings - Fork 540
Fix JdbcSqliteDriver
url parsing when choosing ConnectionManager
type
#4656
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
Conversation
There was a problem hiding this 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.
...ers/sqlite-driver/src/main/kotlin/app/cash/sqldelight/driver/jdbc/sqlite/JdbcSqliteDriver.kt
Outdated
Show resolved
Hide resolved
69a6919
to
8c0a6f4
Compare
Added |
...ers/sqlite-driver/src/main/kotlin/app/cash/sqldelight/driver/jdbc/sqlite/JdbcSqliteDriver.kt
Outdated
Show resolved
Hide resolved
Thank you for making this fix! |
…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
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.