Skip to content

MyBatis3DynamicSql how generate xml file? #1051

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

Closed
pondered opened this issue Aug 17, 2023 · 1 comment
Closed

MyBatis3DynamicSql how generate xml file? #1051

pondered opened this issue Aug 17, 2023 · 1 comment

Comments

@pondered
Copy link

i use left join, but i see example:
t1
t2
t2

return two table column, so i use new ResultMap, but i see SimpleJoinResult defined in xml

https://github.com/mybatis/mybatis-dynamic-sql/blob/8a7aad9ba9618df94b25864286b3ac2c7fe9cb0d/src/site/markdown/docs/select.md?plain=1#L146

but i use MyBatis3DynamicSql
1

@jeffgbutler
Copy link
Member

MyBatis Generator does not generate code for joins. The generated code for MyBatis3DynamicSql does not need any XML.

The examples you reference were hand coded.

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