Skip to content

keyvin-wei/springboot-module-mybatis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springboot-module-mybatis

springboot模块化+集成mybatis连接mysql 框架

module模块

三个模块:api、model、server

  • 相互依赖api<--model<--server
  • model作为数据库访问层,集成mybatis连mysql
    • dao接口在com.keyvin.demo.model.dao
    • mybatis映射xml文件在model/resources/mappers
  • server作为web controller层提供对外接口
  • 添加全局异常捕获及处理

版本

框架 版本
springboot 2.1.7.RELEASE
mybatis 1.3.2
mysql-connector-java 5.1.39
alibaba druid 1.1.10

About

springboot+mybatis+mysql框架

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages