Integrate Springboot+MyBatis+JPA from scratch
https://www.jianshu.com/p/e14c4a6f6871
The difference between MyBatis and Hibernate
http://xhrong.github.io/2016/11/24/ORM%EF%BC%9AHibernate%E3%80%81Mybatis%E4%B8%8ESpring%20Data%20JPA%E7%9A%84%E5%8C%BA%E5%88%AB/
MyBatis: Semi-automatic, SQL statements must be written by themselves (simple can be generated by the generator plug-in), so the flexibility is high, and the SQL statement optimization space is large.
Hibernate: Fully automatic, easy database refactoring and migration
MyBatis.mapperhelper.(MYBATIS GENERATOR plugin)
https://mapperhelper.github.io/docs/3.usembg/
Spring Data JPA call stored procedure instance
https://blog.csdn.net/chszs/article/details/50127823