ComboPooledDataSource

属性 字段类型 含义 默认值 示例
description String
driverClass String 驱动包 com.mysql.jdbc.Driver
jdbcUrl String jdbc链接 jdbc:mysql://ip:port/schema
properties Properties
user String 用户名 root
password String 密码 123456
checkoutTimeout int
acquireIncrement int 当连接池中的连接耗尽时,c3po一次同事获取的连接数 3
acquireRetryAttempts int 从数据库获取新连接失败后重复尝试的次数 30
acquireRetryDelay int
autoCommitOnClose boolean
connectionTesterClassName String
automaticTestTable String
forceIgnoreUnresolvedTransactions boolean
idleConnectionTestPeriod int
initialPoolSize int 初始时启动的连接数 5
maxIdleTime int 连接的最大闲时间
maxPoolSize int 最大连接数 10
maxStatements int
maxStatementsPerConnection int
minPoolSize int 最小连接数 5
overrideDefaultUser String
overrideDefaultPassword String
propertyCycle int
breakAfterAcquireFailure boolean
testConnectionOnCheckout boolean
testConnectionOnCheckin boolean
usesTraditionalReflectiveProxies boolean
preferredTestQuery String
userOverridesAsString String
maxAdministrativeTaskTime int
maxIdleTimeExcessConnections int
maxConnectionAge int
connectionCustomizerClassName String
unreturnedConnectionTimeout int
debugUnreturnedConnectionStackTraces boolean
factoryClassLocation String

你可能感兴趣的:(mysql)