View Single Post
  #2 (permalink)  
Old 02-02-2008, 10:41 PM
pegitha pegitha is offline
Member
 
Join Date: Apr 2007
Location: Indiana
Posts: 84
pegitha is on a distinguished road
Send a message via Skype™ to pegitha
You are going to need something like this someplace in an xml file. Do you have it?
Code:
<bean id="dataSourceDOES" name="dataSourceDOES" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close"> <property name="driverClass" value="oracle.jdbc.driver.OracleDriver"/> <property name="jdbcUrl" value="jdbc:oracle:thin:@111.222.333.444:1521:test"/> <property name="user" value="dbuser"/> <property name="password" value="password"/> <property name="minPoolSize" value="1"/> <property name="acquireIncrement" value="1"/> <property name="maxPoolSize" value="3"/> <property name="autoCommitOnClose" value="false" /> </bean>
This is for Oracle but it would be similar for MySql, only youwould use the mysql driver.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote