springboot第一章05----连接jdbc
第一步:pom.xml中添加依赖这一步要添加:spring-boot-starter-jdbc这个依赖,但是如果已经添加spring-boot-starter-data-jpa就不需要添加jdbc这个依赖了,因为上一篇文章中我们已经添加了spring-boot-starter-data-jpa这个依赖,所以这里就不再添加了。第二步:简单例子,创建daoCatDao.java...
原创
2019-11-08 16:40:25 ·
97 阅读 ·
0 评论