# Mybatis-Plus SpringMVC Demo
运行方法:
1. 建立数据库,导入SQL(在resources的doc中)。
2. 引入本Maven项目,修改数据库配置文件。
3. 添加Web服务器,运行。
![Mybatis-Plus-Logo](http://git.oschina.net/uploads/images/2016/0824/211639_4d931e7f_12260.png "logo")
[![license](https://img.shields.io/github/license/baomidou/mybatis-plus.svg?maxAge=2592000)](http://www.apache.org/licenses/LICENSE-2.0)
[![GitHub release](https://img.shields.io/github/release/baomidou/mybatis-plus.svg?maxAge=2592000)](https://github.com/baomidou/mybatis-plus)
> 为简化开发工作、提高生产率而生
# 简介 | Intro
Mybatis 增强工具包 - 只做增强不做改变,简化`CRUD`操作
> 技术讨论 QQ 群 576493122[(有钱的捧个钱场【点击捐赠】, 没钱的捧个人场)](http://git.oschina.net/uploads/images/2015/1222/211207_0acab44e_12260.png)
# 优点 | Advantages
- **纯正血统**:完全继承原生 `Mybatis` 的所有特性
- **最少依赖**:仅仅依赖`Mybatis`以及`Mybatis-Spring`
- **性能损耗小**:启动即会自动注入基本CURD ,性能无损耗,直接面向对象操作
- **自动热加载**:Mapper对应的xml可以热加载,大大减少重启Web服务器时间,提升开发效率
- **自动生成代码**:包含自动生成代码类以及Maven插件,通过少量配置,即可快速生成Mybatis对应的xml、mapper、entity、service、serviceimpl层代码,减少开发时间
- **自定义操作**:支持自定义Sql注入,实现个性化操作
- **自定义转义规则**:支持数据库关键词(例如:`order`、`key`等)自动转义,支持自定义关键词
- **多种主键策略**:支持多达4种主键策略,可自由配置,若无将会自动填充,更有充满黑科技的`分布式全局唯一ID生成器`
- **无缝分页插件**:基于Mybatis物理分页,无需关心具体操作,等同于编写基本`selectList`查询
- **性能分析**:自带Sql性能分析插件,开发测试时,能有效解决慢查询
- **全局拦截**:提供全表`delete`、`update`操作智能分析阻断
- **避免Sql注入**:内置Sql注入内容剥离器,预防Sql注入攻击
# 文档 | Documentation
[中文](http://mp.baomidou.com/) | [English](http://mp.baomidou.com/en/)
# 原理 | Principle
[Mybatis-Plus 实践及架构原理](http://git.oschina.net/baomidou/mybatis-plus/attach_files)
# 应用实例 | Demo
[Spring-MVC](https://git.oschina.net/baomidou/mybatisplus-spring-mvc)
[Spring-Boot](https://git.oschina.net/baomidou/mybatisplus-spring-boot)
[SSM-实战 Demo](http://git.oschina.net/juapk/SpringWind)
# 下载地址 | Download
[点此去下载](http://maven.aliyun.com/nexus/#nexus-search;quick~mybatis-plus)
```xml
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus</artifactId>
<version>maven 官方最新版本为准</version>
</dependency>
```
# 结构目录 | Architecture
![项目结构说明](http://git.oschina.net/uploads/images/2016/0821/161516_58956b85_12260.png "项目结构说明")
# 其他开源项目 | Other Project
- [基于Cookie的SSO中间件 Kisso](http://git.oschina.net/baomidou/kisso)
- [Java快速开发框架 SpringWind](http://git.oschina.net/juapk/SpringWind)
# 期望 | Futures
> 欢迎提出更好的意见,帮助完善 Mybatis-Plus
# 版权 | License
[Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)
# 捐赠 | Donate
> [捐赠记录,感谢你们的支持!](http://git.oschina.net/baomidou/kisso/wikis/%E6%8D%90%E8%B5%A0%E8%AE%B0%E5%BD%95)
![捐赠 mybatis-plus](http://git.oschina.net/uploads/images/2015/1222/211207_0acab44e_12260.png "支持一下mybatis-plus")
# 关注我 | About Me
![程序员日记](http://git.oschina.net/uploads/images/2016/0121/093728_1bc1658f_12260.png "程序员日记")
没有合适的资源?快使用搜索试试~ 我知道了~
超简单的Spring-mvc示例
共112个文件
xml:50个
java:14个
sample:12个
0 下载量 146 浏览量
2024-04-30
16:36:48
上传
评论
收藏 685KB RAR 举报
温馨提示
超简单的Spring-mvc示例
资源推荐
资源详情
资源评论
收起资源包目录
超简单的Spring-mvc示例 (112个子文件)
config 310B
bootstrap.css 149KB
bootstrap.min.css 118KB
description 73B
dev 210B
dev 41B
glyphicons-halflings-regular.eot 20KB
exclude 240B
.gitignore 231B
.gitignore 109B
HEAD 210B
HEAD 210B
HEAD 29B
HEAD 20B
pack-2d94a1d54a6700d7177f3ed4a64ce503e93193d5.idx 10KB
mybatisplus-spring-mvc.iml 6KB
index 6KB
StringUtil.java 3KB
UserController.java 2KB
BaseController.java 2KB
User.java 1KB
ServiceTest.java 1KB
IdWorkerTest.java 1KB
JsonResult.java 896B
TypeEnum.java 747B
MyMetaObjectHandler.java 639B
UserServiceImpl.java 503B
SuperEntity.java 469B
SuperMapper.java 306B
UserMapper.java 271B
IUserService.java 266B
jquery-2.2.3.min.js 84KB
bootstrap.js 70KB
bootstrap.min.js 36KB
index.jsp 3KB
save.jsp 2KB
include.jsp 603B
LICENSE 10KB
bootstrap.css.map 380KB
bootstrap.min.css.map 53KB
README.md 4KB
pack-2d94a1d54a6700d7177f3ed4a64ce503e93193d5.pack 340KB
packed-refs 179B
log4j.properties 966B
config.properties 176B
pre-rebase.sample 5KB
update.sample 4KB
fsmonitor-watchman.sample 3KB
pre-commit.sample 2KB
prepare-commit-msg.sample 1KB
pre-push.sample 1KB
commit-msg.sample 896B
pre-receive.sample 544B
applypatch-msg.sample 478B
pre-applypatch.sample 424B
pre-merge-commit.sample 416B
post-update.sample 189B
sys_user.sql 1KB
glyphicons-halflings-regular.svg 106KB
glyphicons-halflings-regular.ttf 44KB
glyphicons-halflings-regular.woff 23KB
glyphicons-halflings-regular.woff2 18KB
workspace.xml 9KB
spring-mybatis.xml 6KB
pom.xml 5KB
mybatisplus_spring_mvc_war_exploded.xml 4KB
spring-mvc.xml 3KB
mybatis-config.xml 2KB
web.xml 2KB
jarRepositories.xml 1KB
spring.xml 964B
Maven__org_springframework_spring_context_support_5_0_0_RELEASE.xml 693B
compiler.xml 671B
Maven__org_springframework_spring_expression_5_0_0_RELEASE.xml 658B
Maven__org_springframework_spring_context_5_0_0_RELEASE.xml 637B
Maven__org_springframework_spring_webmvc_5_0_0_RELEASE.xml 630B
Maven__org_springframework_spring_beans_5_0_0_RELEASE.xml 623B
Maven__org_springframework_spring_jdbc_5_0_0_RELEASE.xml 616B
Maven__org_springframework_spring_core_5_0_0_RELEASE.xml 616B
Maven__org_springframework_spring_test_5_0_0_RELEASE.xml 616B
Maven__org_springframework_spring_aop_5_0_0_RELEASE.xml 609B
Maven__org_apache_velocity_velocity_engine_core_2_0.xml 609B
Maven__org_springframework_spring_web_5_0_0_RELEASE.xml 609B
Maven__org_springframework_spring_jcl_5_0_0_RELEASE.xml 609B
Maven__commons_fileupload_commons_fileupload_1_3_1.xml 605B
Maven__org_springframework_spring_tx_5_0_0_RELEASE.xml 602B
Maven__com_baomidou_mybatis_plus_generate_2_1_9.xml 602B
Maven__com_baomidou_mybatis_plus_support_2_1_9.xml 595B
misc.xml 592B
Maven__mysql_mysql_connector_java_5_1_38.xml 574B
Maven__com_baomidou_mybatis_plus_core_2_1_9.xml 574B
Maven__org_apache_commons_commons_lang3_3_5.xml 556B
Maven__org_mybatis_mybatis_spring_1_3_1.xml 549B
Maven__com_github_jsqlparser_jsqlparser_1_1.xml 547B
Maven__org_aspectj_aspectjweaver_1_8_8.xml 542B
Maven__org_slf4j_slf4j_log4j12_1_7_19.xml 541B
Maven__com_baomidou_mybatis_plus_2_1_9.xml 539B
Maven__org_freemarker_freemarker_2_3_9.xml 533B
Maven__org_hamcrest_hamcrest_core_1_3.xml 532B
mybatisplus_spring_mvc_war.xml 515B
共 112 条
- 1
- 2
资源评论
ct1027038527
- 粉丝: 59
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功