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
is this bug? #512
Comments
I don't think this is a bug. For result maps with associations and collections MyBatis de-duplicates the result set according to the I'm assuming the column |
agree with @mches , you need id or enough property mappings to uniquely identify each result row |
agree with you,its useful to me too! |
Table name : HIST
Java:
result:
DEBUG: xxxx.xxxx.HistMapper.findItems - <== Total: 5
LIST SIZE : 1 (why??)
But, modified query as below.
success!
or modified resultMap as below.
success.
is this bug?
The text was updated successfully, but these errors were encountered: