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

Move the configuration to @ConfigMapping #527

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gsmet
Copy link
Member

@gsmet gsmet commented Feb 12, 2025

The legacy config classes will go away at some point in the future so let's migrate to @ConfigMapping.

The legacy config classes will go away at some point in the future so
let's migrate to @ConfigMapping.
@gsmet gsmet requested a review from a team as a code owner February 12, 2025 14:09
@@ -207,7 +206,6 @@ void generateSqlSessionFactory(MyBatisRuntimeConfig myBatisRuntimeConfig,
configurationCustomizers,
sqlSessionFactoryBuilderBuildItem.getBuilder(),
myBatisRuntimeConfig,
dataSourceConfig,
Copy link
Member Author

Choose a reason for hiding this comment

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

You actually cannot pass partial config objects to recorder. So here I will extract MyBatisDataSourceRuntimeConfig in the recorder instead.

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.

1 participant