dataSource(阿里巴巴)的配置
来源:互联网 发布:淘宝店铺招牌制作软件 编辑:程序博客网 时间:2024/06/08 02:54
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd "> <!-- 阿里巴巴数据库连接池 dbcp/c3p0/druid --> <bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource" init-method="init" destroy-method="close"> <property name="url" value="jdbc:mysql://127.0.0.1:3306/ssm_oa?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull" /> <property name="username" value="root" /> <property name="password" value="111" /> <property name="filters" value="stat" /> <property name="maxActive" value="20" /> <property name="initialSize" value="10" /> <property name="maxWait" value="60000" /> <property name="minIdle" value="5" /> <property name="timeBetweenEvictionRunsMillis" value="3000" /> <property name="minEvictableIdleTimeMillis" value="300000" /> <property name="validationQuery" value="SELECT 'x'" /> <property name="testWhileIdle" value="true" /> <property name="testOnBorrow" value="false" /> <property name="testOnReturn" value="false" /> <property name="poolPreparedStatements" value="true" /> <property name="maxPoolPreparedStatementPerConnectionSize" value="100" /> </bean></beans>
阅读全文
0 0
- dataSource(阿里巴巴)的配置
- Spring的dataSource配置
- 数据库连接datasource的配置
- Spring的DataSource配置
- struts下的datasource配置
- WebLogic的简单DataSource配置
- spring的各种dataSource配置
- spring中datasource的配置
- websphere 中datasource 的配置
- Spring3 配置datasource 的方法
- Spring的datasource配置详解
- Spring DataSource的配置总结
- Spring(十一):配置DataSource
- spring与hibernate3结合,DataSource的配置方式(二)
- Jboss as 7配置xa的datasource(Sql server)
- dataSource配置
- proxool的dataSource配置的bug
- Tomcat Context和DataSource的配置
- 【juincen】Web中图片上传处理 jQuery+Ajax+SpringMVC
- Content Delivery
- Object.defineProperty
- GOF23种模式
- Coin_Change
- dataSource(阿里巴巴)的配置
- 错误代码为1366的MySQL错误
- JAVA 求最大公因数--欧几里得算法
- skynet源码分析(9)--LUA C API
- 组合计数总结(转)
- 无向图的最大独立集和最大团
- OPENGL笔记
- 二值图像连通标记矩阵计算
- 世界上有10种人,一种懂二进制,一种不懂。那么你知道两个int32整数m和n的二进制表达,有多少个位(bit)不同么?