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

add mapper configuration #10

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

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