springboot學習總結五(Spring boot集成MyBaits)

目錄 SpringBoo集成MyBaits的步驟如下: 1.在pom.xml中配置相關jar依賴 2.在Springboot的核心配置文件application.properties中配置MyBaits的Mapper.xml文件所在位置: 3.在springboot的核心配置文件application.properties中配置數據源: 4.在Myaits的Mapper接口中添加@Mapper註解
相關文章
相關標籤/搜索