springboot整合常用的第三方框架,mybatis,mongodb,redis

mybatis,采用xml编写sql语句

mongodb,对MongoTemplate进行了封装

redis,对redisTemplate进行封装成工具类

可以基于该项目进行快速开发,省得以后每次开发又要重新整合一遍

项目结构:

属性配置文件

mybatis.mapper-locations=classpath*:/mapper/**/*.xml
mybatis.type-aliases-package=com.irish.model
mybatis.configuration.map-underscore-to-camel-case=true
logging.level.com.irish.mapper=debug spring.datasource.url=jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&characterEncoding=utf8
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.max-idle=
spring.datasource.max-wait=
spring.datasource.min-idle=
spring.datasource.initial-size= pagehelper.offset-as-page-num=true
pagehelper.reasonable=true
pagehelper.page-size-zero=true
pagehelper.support-methods-arguments=true spring.data.mongodb.host=127.0.0.1
spring.data.mongodb.port=
spring.data.mongodb.username=
spring.data.mongodb.password=
spring.data.mongodb.database=watch spring.redis.database=
spring.redis.host=127.0.0.1
spring.redis.port=
spring.redis.password=
spring.redis.pool.max-active=
spring.redis.pool.max-idle=
spring.redis.pool.min-idle=

github下载地址:https://github.com/jake1263/springboot-integration

最新文章

  1. [IOS]译Size Classes with Xcode 6: One Storyboard for all Sizes
  2. mybatis foreach的使用
  3. web.xml相关知识摘录整理
  4. scrapy 代理
  5. HDU5052 Yaoge’s maximum profit(LCT)
  6. R语言学习笔记:列表
  7. import com.sun.image.codec.jpeg.JPEGCodec不通过 Eclipse找不到包
  8. c# gzip解压缩
  9. Ubuntu16.04安装GTK3主题:OSX-Arc
  10. java第十二次作业
  11. 异步加载js的三种方法
  12. MySQL 8.0.12 基于Windows 安装教程(超级详细)
  13. solr 中文分词器IKAnalyzer和拼音分词器pinyin
  14. Mac book Pro BootCamp驱动下载地址
  15. python爬虫 beutifulsoup4_1官网介绍
  16. odoo tree视图 当页不弹窗显示方法
  17. FastDFS初步认识--上传下载流程介绍
  18. ReentrantLock获取到非公平锁的源码
  19. expdp 简单例子
  20. ActiveMQ笔记:管理和监控

热门文章

  1. AtCoder Beginner Contest 125 解题报告
  2. My journey introducing the data build tool (dbt) in project’s analytical stacks
  3. 【JOISC2019|2019】【20190622】cake3
  4. 【后缀数组】【LuoguP4248】 [AHOI2013]差异
  5. Java-根据经纬度计算距离(百度地图距离)
  6. JS和JQuery实现Button绑定键盘Enter事件实现提交
  7. SDN第五次上机实验
  8. 对5月13号中BaseDao方法进行优化改造,更接近于框架的编写
  9. 蚂蚁Pincap头条
  10. 刷题记录:[FBCTF2019]Products Manager