Skip to content

Conversation

@rudychen93
Copy link

Sometimes I don't need @Mapper annotation, so I add a configuration called mapper to decide if I need to add @Mapper annotations.

@moonciki
Copy link

moonciki commented Jun 17, 2019

This pr is helpful to me.
In the case of multiple data sources, I use configurable MapperScannerConfigurer to initialize mappers, if use @Mapper annotation, there will happen Error when startup. So please apply this pr. Thank you.

@ghost
Copy link

ghost commented Feb 14, 2020

@softwareloop Could you merge this PR? Mybatis Generator with ANNOTATEDMAPPER config adds @ Mapper annotation by default. This Plugin adds another @ Mapper annotation. JDK fails to compile generated files, because only 1 annotation can exist.

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.

2 participants