-
-
Save kenglxn/1237348 to your computer and use it in GitHub Desktop.
c3p0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean id="dataSource" | |
class="com.mchange.v2.c3p0.ComboPooledDataSource" | |
p:driverClass="${jdbc.driverClassName}" | |
p:jdbcUrl="${jdbc.connection.url}" | |
p:user="${jdbc.username}" | |
p:password="${jdbc.password}" | |
p:preferredTestQuery="${c3p0.preferredTestQuery}" | |
p:idleConnectionTestPeriod="${c3p0.idleConnectionTestPeriod}" | |
p:initialPoolSize="${c3p0.initialPoolSize}" | |
p:minPoolSize="${c3p0.minPoolSize}" | |
p:maxPoolSize="${c3p0.maxPoolSize}" | |
p:maxIdleTime="${c3p0.maxIdleTime}" | |
p:acquireRetryAttempts="${c3p0.acquireRetryAttempts}" | |
p:maxStatements="${c3p0.maxStatements}" | |
p:numHelperThreads="${c3p0.numHelperThreads}" | |
p:checkoutTimeout="${c3p0.checkoutTimeout}"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment