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(connection): fix failed to set 'sendConnectionAttributes' jdbc parameter #601

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

yhilmare
Copy link
Contributor

@yhilmare yhilmare commented Oct 24, 2023

What type of PR is this?

type-bug

What this PR does / why we need it:

sendConnectionAttributes is hard code in OBConsoleDataSourceFactory and ODC will ignore the user settings when he/she sets sendConnectionAttributes.

I changed the code logic to: User's settings can override hard coding.

Which issue(s) this PR fixes:

Fixes #600

Special notes for your reviewer:

Additional documentation e.g., usage docs, etc.:


@yhilmare yhilmare added the type-bug Something isn't working label Oct 24, 2023
@yhilmare yhilmare added this to the ODC 4.2.2 milestone Oct 24, 2023
@yhilmare yhilmare self-assigned this Oct 24, 2023
@yhilmare yhilmare linked an issue Oct 24, 2023 that may be closed by this pull request
Copy link
Contributor

@smallsheeeep smallsheeeep left a comment

Choose a reason for hiding this comment

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

LGTM

@yhilmare yhilmare merged commit fe352f8 into dev/4.2.2 Oct 25, 2023
19 checks passed
@yhilmare yhilmare deleted the fix/shanlu_jdbc_param_init branch October 25, 2023 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Bug]: failed to set 'sendConnectionAttributes' jdbc parameter
2 participants