c3p0配置参数详细说明.docVIP

  • 12
  • 0
  • 约4.53千字
  • 约 5页
  • 2017-05-11 发布于河南
  • 举报
c3p0配置参数详细说明

c3p0配置参数详细说明 c3p0-config default-config !--当连接池中的连接耗尽的时候c3p0一次同时获取的连接数。Default: 3 -- property name=acquireIncrement3/property !--定义在从数据库获取新连接失败后重复尝试的次数。Default: 30 -- property name=acquireRetryAttempts30/property !--两次连接中间隔时间,单位毫秒。Default: 1000 -- property name=acquireRetryDelay1000/property !--连接关闭时默认将所有未提交的操作回滚。Default: false -- property name=autoCommitOnClosefalse/property !--c3p0将建一张名为Test的空表,并使用其自带的查询语句进行测试。如果定义了这个参数那么 属性preferredTestQuery将被忽略。你不能在这张Test表上进行任何操作,它将只供c3p0测试 使用。Default: null-- property name=automaticTestTableTe

文档评论(0)

1亿VIP精品文档

相关文档