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

Questions about mapercannerregister #665

Open
mapy95 opened this issue Apr 14, 2022 · 0 comments
Open

Questions about mapercannerregister #665

mapy95 opened this issue Apr 14, 2022 · 0 comments

Comments

@mapy95
Copy link

mapy95 commented Apr 14, 2022

I want to know why in version 2.0, mappercannerregister injects the implementation class of beandefinitionregistrypostprocessor interface (mappercannerconfigurer)

What is the reason for the upgrade here?

org.mybatis.spring.annotation. MapperScannerRegistrar#registerBeanDefinitions
`void registerBeanDefinitions(AnnotationMetadata annoMeta, AnnotationAttributes annoAttrs,
BeanDefinitionRegistry registry, String beanName) {

BeanDefinitionBuilder builder = BeanDefinitionBuilder.genericBeanDefinition(MapperScannerConfigurer.class);
builder.addPropertyValue("processPropertyPlaceHolders", true);`
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

No branches or pull requests

1 participant