SpringBoot——整合MyBatis實現CRUD

SpringBoot項目的持久層一般都是使用JPA或者MyBatis,我個人是比較喜歡MyBatis。 首先我們打開pom.xml,添加上mybatis需要的一些依賴 <dependency>     <groupId>mysql</groupId>     <artifactId>mysql-connector-java</artifactId> </dependency> <dependenc
相關文章
相關標籤/搜索