SpringBoot連接數據庫SQL語句編寫(註解與配置文件)

首先我們需要進行一些配置,讓項目可以連接我們的數據庫(這裏我數據庫用的mySql) 1、引入jar <!--mybatis.jar--> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</ar
相關文章
相關標籤/搜索