To configure and run mybatis generator, you need to:
- add
mybatis-generator-maven-plugin
inpom.xml
- configure
application.properties
- configure
generatorConfig.xml
- run:
mvn mybatis-generator:generate
To integrate Spring Boot with Mybatis, you need to:
- configure
/config/spring-mybatis.xml
- configure
/config/mybatis-config.xml
- configure
/config/MybatisConfig.java