spring boot 连接池配置
2016-05-06 09:26
239 查看
spring.datasource.max-idle=10
spring.datasource.max-wait=10000
spring.datasource.min-idle=5
spring.datasource.initial-size=5
spring.datasource.validation-query=SELECT 1
spring.datasource.test-on-borrow=false
spring.datasource.test-while-idle=true
spring.datasource.time-between-eviction-runs-millis=18800
spring.datasource.max-wait=10000
spring.datasource.min-idle=5
spring.datasource.initial-size=5
spring.datasource.validation-query=SELECT 1
spring.datasource.test-on-borrow=false
spring.datasource.test-while-idle=true
spring.datasource.time-between-eviction-runs-millis=18800
相关文章推荐
- 使用spring web.xml里的配置 - 请求处理器DispatcherServlet
- struts 拦截器设置防止表单的重复提交
- 【行为型模式】模板方法模式(template method)之23种java设计模式
- 《java入门第一季》之面向对象(重头戏多态)
- 《java入门第一季》之面向对象(重头戏多态)
- 怎样判读安装java jvm是32位还是64位的
- POI操作EXCEL03和EXCEL07以上版本
- Set、Map集合
- Eclipse安装Genymotion插件问题
- java中怎么在获取的系统时间上提前一周一月一年或推迟一周,一月或者一年
- Java中ArrayList类的用法与源码完全解析
- Java用于校验一个字符串是否是合法的JSON格式
- Spring之AOP
- java线程——synchronized的4种用法
- 【java设计模式】之 模板方法(Template Method)模式
- 69个Spring面试题
- 69个Spring面试题
- java.util.Date和java.sql.Date的区别和相互转化
- JAVA虚拟机之——类加载机制
- org.springframework.beans.NotWritablePropertyException