目录
https://gitee.com/cxy-xupeng/spring-boot-test.git
SpringBoot默认采用整合Spring Data的方式统一处理,添加大量自动配置,屏蔽很多设置。
git地址:
徐鹏/springBootTest
一、连接上数据库并能访问
我们先来创建一个项目
选中web下面的spring web和SQL下面的JDBC和MySQL驱动
目录
https://gitee.com/cxy-xupeng/spring-boot-test.git
SpringBoot默认采用整合Spring Data的方式统一处理,添加大量自动配置,屏蔽很多设置。
git地址:
我们先来创建一个项目
选中web下面的spring web和SQL下面的JDBC和MySQL驱动