mybatis 使用

基於springboot,使用mybatis
1,新建springboot 項目
2,pom.xml 中引入mybatis相關包
3,添加三層結構
controller
service
-serviceImpl
domain
dao
mapper
utils
constants
4,eclipse 使用
4.1,Git 忽略文件
4.2,類和方法自動添加註釋
4.3,mybatis generator

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章