Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <bean id="mydataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
- <property name="driverClass" value="com.mysql.jdbc.Driver"/>
- <property name="jdbcUrl" value="jdbc:mysql://localhost:3306,myOtherServer:3306/zeus?autoCommit=true&autoReconnect=true&autoReconnectForPools=true&failOverReadOnly=false"/>
- <property name="user" value="root" />
- <property name="password" value="root" />
- <!-- these are C3P0 properties -->
- <!-- property name="acquireIncrement" value="${acquireIncrement}" /_-->
- <property name="minPoolSize" value="6" />
- <property name="maxPoolSize" value="10" />
- <property name="maxIdleTime" value="100" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement