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

how to use MyBatis plugin #456

Open
deokju opened this issue Feb 15, 2023 · 7 comments
Open

how to use MyBatis plugin #456

deokju opened this issue Feb 15, 2023 · 7 comments
Labels

Comments

@deokju
Copy link

deokju commented Feb 15, 2023

Hello~
i am very grateful to This Project.
Because it increases my development productivity.
Help me.
I'm going crazy because I'm curious
How to use Mybatis plugin.
Can you give me a tutorial or how to use it.
please please please

my development environment is
IntelliJ
SpringMvc
Java 1.8

@aierx
Copy link

aierx commented Apr 7, 2023

me too

@skybber
Copy link
Contributor

skybber commented Apr 7, 2023

MyBatisPlugin should automatically reload your XMLs on any change, doesn't it work? You can also find the basic capabilities in unit test at: https://github.com/HotswapProjects/HotswapAgent/blob/master/plugin/hotswap-agent-mybatis-plugin/src/test/java/org/hotswap/agent/plugin/mybatis/MyBatisPluginTest.java

@deokju
Copy link
Author

deokju commented Apr 13, 2023

Don't work. It's serious.
Plug-in information is displayed well when the server is started.
Need additional settings for Java or XML etc?

image
image

Our system setup consists of XML, not Java code
Can't I use Mybatis plugins in this case?

Thank you so much for taking the time to answer.
I know it's frustrating, but please help me
I really want to try it

@skybber
Copy link
Contributor

skybber commented Apr 13, 2023

Try to use the latest 1.4.2-SNAPSHOT (https://github.com/HotswapProjects/HotswapAgent/releases/tag/1.4.2-SNAPSHOT) https://github.com/HotswapProjects/HotswapAgent/releases

@deokju
Copy link
Author

deokju commented Apr 14, 2023

hi, my friend.
Don't work. Help me.
image
Is there anything I should do separately in IntelJ after modifying the XML (mybatis mapper)?
Thank you so much for your continuous response

@sincebyte
Copy link

Not working either

@homejim
Copy link
Contributor

homejim commented Aug 15, 2024

You can use the latest plugin, which has made fixes for MyBatis. Previously, there were errors in some Spring applications that would cause reload failures. @sincebyte @deokju @aierx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants