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(metadb): change systemConfigDao to systemConfigRepository. #2467

Merged
merged 2 commits into from
May 22, 2024

Conversation

ungreat
Copy link
Collaborator

@ungreat ungreat commented May 22, 2024

What type of PR is this?

The field ConfigEntity.key is a reserved word in MySQL, so the workaround employed is using @column("`key`") to avoid conflicts. However, due to differences in how H2 and MySQL handle reserved keywords, the original method is still implemented using jdbcTemplate to maintain compatibility with integration tests.

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

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


@ungreat ungreat self-assigned this May 22, 2024
@ungreat ungreat added the type-refactor refactor code or rename variables label May 22, 2024
@ungreat ungreat added this to the ODC 4.3.0 milestone May 22, 2024
@ungreat ungreat changed the base branch from dev/4.2.x to dev/4.3.x May 22, 2024 08:26
@ungreat ungreat force-pushed the yiang_change_system_config_dao_to_repository branch from 3c2f5c7 to d997087 Compare May 22, 2024 08:42
@ungreat ungreat requested a review from yizhouxw May 22, 2024 09:50
Copy link
Contributor

@yizhouxw yizhouxw left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@yhilmare yhilmare 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 6957528 into dev/4.3.x May 22, 2024
7 checks passed
@yhilmare yhilmare deleted the yiang_change_system_config_dao_to_repository branch May 22, 2024 11:58
ungreat added a commit that referenced this pull request Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-refactor refactor code or rename variables
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants