Hibernate、Mybatis与Spring Data JPA

从零开始集成Springboot+MyBatis+JPA

https://www.jianshu.com/p/e14c4a6f6871

MyBatis 与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 : 半自动,SQL语句都要自己写(简单的可以用generator插件生成),所以灵活性高,sql语句优化空间大。

Hibernate: 全自动,数据库重构迁移容易

 MyBatis.mapperhelper.(MYBATIS GENERATOR 插件)  

https://mapperhelper.github.io/docs/3.usembg/

Spring Data JPA调用存储过程实例

https://blog.csdn.net/chszs/article/details/50127823

猜你喜欢

转载自www.cnblogs.com/aoyihuashao/p/8962150.html