随笔分类 -  SpringBoot

摘要:添加依赖 org.mybatis.spring.boot mybatis spring boot starter 1.3.2 配置durid数据库 spring.datasource.type=com.alibaba.druid.pool.DruidDataSource spring.datasou 阅读全文
posted @ 2018-05-29 16:06 binfoo 阅读(166) 评论(0) 推荐(0)
摘要:添加依赖 com.alibaba druid 1.1.6 org.springframework.boot spring boot starter web 配置druid参数application dev.yml 数据库访问配置 主数据源,默认的 spring: datasource: type: 阅读全文
posted @ 2018-05-29 13:50 binfoo 阅读(534) 评论(0) 推荐(0)
摘要:springboot使用jpa 添加依赖 org.springframework.boot spring boot starter data jpa mysql mysql connector java 5.1.21 配置application.properties spring.datasourc 阅读全文
posted @ 2018-05-24 21:48 binfoo 阅读(275) 评论(0) 推荐(0)
摘要:springboot整合redis 添加pom.xml依赖 org.springframework.boot spring boot starter redis 1.2.5.RELEASE 参数设置 在application.properties加入设置 REDIS (RedisProperties 阅读全文
posted @ 2018-05-24 19:24 binfoo 阅读(145) 评论(0) 推荐(0)