-
Notifications
You must be signed in to change notification settings - Fork 177
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
Consider lowercase sslmode
for easier JDBC URL adaption
#486
Comments
Parameter compatibility with JDBC was never a goal. However, this seems a small change to additionally consider lowercase r2dbc-postgresql/src/main/java/io/r2dbc/postgresql/PostgresqlConnectionFactoryProvider.java Line 181 in 40c2be0
|
sslmode
for easier JDBC URL adaption
@mp911de this change won't be backward compatible. shouldn't it be part of a major version release right? |
It should be. The approach is to introduce another constant and check it as fallback instead of replacing the existing constant for the option name. |
For easier JDBC URL adaption [resolves pgjdbc#486]
For easier JDBC URL adaption [resolves #486]
[#486][resolves #504] Signed-off-by: Mark Paluch <[email protected]>
[#486][resolves #504] Signed-off-by: Mark Paluch <[email protected]>
For easier JDBC URL adaption [resolves #486]
[#486][resolves #504] Signed-off-by: Mark Paluch <[email protected]>
Bug Report
Migrating from jdbc to r2dbc is confusing due to the jdbc parameter of
sslmode
and r2dbc requiring it to be cased differently assslMode
-- Ideally they should be the same, but at a minimum, i'd suggest a warning during URL parsing to indicate that the case differs.Current Behavior
parameter
sslmode
does not work.parameter
sslMode
works.The text was updated successfully, but these errors were encountered: