C3P0.xml文件配置
来源:互联网 发布:php使用ftp上传文件 编辑:程序博客网 时间:2024/05/22 07:01
<?xml version="1.0" encoding="UTF-8" ?>
<c3p0-config>
<default-config>
<property name="jdbcUrl">
<![CDATA[
jdbc:mysql://localhost:3306/goods?useUnicode=true&characterEncoding=UTF8&useServerPrepStmts=true&prepStmtCacheSqlLimit=256&cachePrepStmts=true&prepStmtCacheSize=256&rewriteBatchedStatements=true
]]>
</property>
<property name="driverClass">com.mysql.jdbc.Driver</property>
<property name="user">root</property>
<property name="password">123</property>
<property name="acquireIncrement">3</property>
<property name="initialPoolSize">10</property>
<property name="minPoolSize">2</property>
<property name="maxPoolSize">10</property>
</default-config>
</c3p0-config>
<c3p0-config>
<default-config>
<property name="jdbcUrl">
<![CDATA[
jdbc:mysql://localhost:3306/goods?useUnicode=true&characterEncoding=UTF8&useServerPrepStmts=true&prepStmtCacheSqlLimit=256&cachePrepStmts=true&prepStmtCacheSize=256&rewriteBatchedStatements=true
]]>
</property>
<property name="driverClass">com.mysql.jdbc.Driver</property>
<property name="user">root</property>
<property name="password">123</property>
<property name="acquireIncrement">3</property>
<property name="initialPoolSize">10</property>
<property name="minPoolSize">2</property>
<property name="maxPoolSize">10</property>
</default-config>
</c3p0-config>
阅读全文
0 0
- C3P0.xml文件配置
- [C3P0]XML文件配置及使用
- c3p0-config.xml文件基本配置
- applicationContext.xml配置c3p0
- C3P0的XML配置
- c3p0-config.xml配置
- 在spring框架中的applicationContext.xml文件配置c3p0数据源
- 关于c3p0文件配置
- applicationContext.xml里面配置c3p0
- 数据库连接池c3p0配置c3p0-config.xml详解
- Hibernate中配置C3P0数据源步骤及hbm.xml 文件详解
- c3p0-config.xml配置与使用
- 更改C3P0连接池的XML配置
- c3p0-config.xml 里边内容的配置
- 【c3p0】c3p0配置详解
- hibernate.cfg.xml 配置 & C3P0 连接池配置
- C3P0 配置
- c3p0配置
- 关于华硕笔记本A400U进PE,改开机密码,硬盘无法识别的笔记
- iOS 数据结构之链表
- 卷积矩阵及其运算实例
- 【整理】Python中self和__init__的含义与使用
- UGUI_Toggle
- C3P0.xml文件配置
- Hadoop 2.6 以WordCount为例理解Map Reduce
- 2017第十四届国际真空展览会会刊(参展商名录)
- 2017.10.10 Perm 排列计数 失败总结
- Mysql5.7安装问题
- 如何限制 input type="text" 只能接受11位数字(手机号码)
- team leader的能力 分享
- java实现一只青蛙一次可以跳上1级台阶,也可以跳上2级。求该青蛙跳上一个n级的台阶总共有多少种跳法。
- < 笔记 > JavaScript