Skip to content

Mybatis dynamic SQL cannot customize model annotations #1071

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
courage0916 opened this issue Oct 5, 2023 · 3 comments
Closed

Mybatis dynamic SQL cannot customize model annotations #1071

courage0916 opened this issue Oct 5, 2023 · 3 comments

Comments

@courage0916
Copy link

Mybatis dynamic SQL cannot customize model annotations,I think mybatis simple can customize the po layer model through Implements CommentGenerator,But Mybatis dynamic SQL can't do it.

@jeffgbutler
Copy link
Member

I'm not sure what this means. Is this a duplicate question of #1070 ?

@courage0916
Copy link
Author

I'm not sure what this means. Is this a duplicate question of #1070 ?

I don't think it's repetitive. One is how to generate other models, and the other is how to generate models using known methods. However, as a questioner, I follow the norms of community organizations. If there are any questions next time, I will merge them and ask them together. Sorry

@jeffgbutler
Copy link
Member

The answer is the same for both questions - you can write a plugin to change virtually anything about the generated code, or to generate additional code.

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