springBoot spring Mybatis/hibernate 初级入门及尝试

来源:互联网 发布:java实现dijkstra算法 编辑:程序博客网 时间:2024/06/08 10:01

springBoot spring Mybatis/hibernate 初级入门及尝试

1.Spring boot与Spring cloud 之间的关系
https://www.zhihu.com/question/47304987?sort=created

2.SpringBoot搭建helloword http://www.cnblogs.com/larryzeal/p/5765945.html

3.使用Springboot+myBatis链接数据库,实现增删改查
http://blog.csdn.net/gebitan505/article/details/54929287

4.使用Springboot+hibernate链接数据库,实现增删改查http://blog.csdn.net/fanduo12345/article/details/54626802
操作下来感觉比myBatis使用要方便,不需要自己写sql脚本,封装的较好,有很多自带的方法不需要想mybatis再下载工具包之类。

5.Spring Boot系列(五):spring data jpa的使用 https://zhuanlan.zhihu.com/p/25000309?refer=dreawer

6.SpringBoot JPA与数据库sql语句对应方法,及实现增删改查、分页、排序、事务操作等功能
http://blog.csdn.net/linzhiqiang0316/article/details/52639265

  • Spring Data JPA、MyBatis还有Hibernate的区别
    http://www.imooc.com/article/19754?block_id=tuijian_wz

7.TKmybatis的框架介绍和原理分析及Mybatis新特性演示 http://blog.csdn.net/shikaiwencn/article/details/52485883
tkmybatis是在mybatis框架的基础上提供了很多工具,让开发更加高效,下面来看看这个框架的基本使用,后面会对相关源码进行分析,感兴趣的同学可以看一下,挺不错的一个工具
可执行带前端git资源:https://github.com/abel533/MyBatis-Spring-Boot

hibernate作为JPA规范中的产品,是完备的ORM框架,比较官方,封装程度较高,其可以跨数据库使用,会设置缓存,对重复查询有优化,而myBatis作为我第一次数据库链接尝试,无论配置还是新建增删改查都比较顺利,适合于新手上手。

ps:SpringCloud学习文档–SpringCloud-Learning
http://blog.csdn.net/xiaobao5214/article/details/72833118
下载地址http://download.csdn.net/download/glaivelee/9851804

原创粉丝点击