Skip to content

IDEA+Gradle+Spring MVC+MyBatis的基础配置项目

Notifications You must be signed in to change notification settings

luffyjet/GradleSSMBase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IDEA+Gradle+Spring MVC+MyBatis的基础配置项目


直接Clone项目,修改包名和下面的配置项,用Idea导入即可使用。

  • mybatis配置文件目录: resources/config/mybatis

  • spring配置文件目录: resources/config/spring

  • 依赖版本配置在: gradle.properties

build.gradle文件内配置了mybatis-generator的Task(mybatisGenerate),用于自动生成实体类和mapper。

参考

Spring overview-modules

http://www.cnblogs.com/bojuetech/p/5844413.html

https://github.com/kingcos/MyBatisGenerator-Tool

http://www.mybatis.org/mybatis-3/zh/index.html

http://www.mybatis.org/spring/zh/index.html

About

IDEA+Gradle+Spring MVC+MyBatis的基础配置项目

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published