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

mybatis generator targetRuntime="MyBatis3"报错 #128

Open
wangchong33333 opened this issue May 11, 2018 · 1 comment
Open

mybatis generator targetRuntime="MyBatis3"报错 #128

wangchong33333 opened this issue May 11, 2018 · 1 comment

Comments

@wangchong33333
Copy link

报错java.lang.IllegalArgumentException: Mapped Statements collection already contains value for ...selectByExample
使用MyBatis3Simple没有问题,springboot不能使用MyBatis3吗

@abel533
Copy link
Owner

abel533 commented May 17, 2018

不是不能用。

是你用这种方式生成了 selectByExample 一类的方法,这些方法在通用 Mapper 已经提供了。

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

2 participants