title: Can I use multiple C3P0 datasources for DB instance?
body: <p>I was wondering if I can run multiple c3p0 datasources for one DB, something like:</p>
  
  <pre><code>&lt;bean id="dataSource1" class = "com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close"&gt;
      &lt;property name="driverClass" value="${db.driverClassName}"/&gt;
      &lt;property name="jdbcUrl" value="${db.url}/schema1"/&gt;
      &lt;property name="user" value="${db.username}"/&gt;
      &lt;property name="password" value="${db.password}"/&gt;
  
      &lt;property name="acquireIncrement" value="1" /&gt;
      &lt;property name="idleConnectionTestPeriod" value="100"/&gt;
      &lt;property name="minPoolSize" value="5" /&gt;
      &lt;property name="maxPoolSize" value="50" /&gt;
      &lt;property name="maxIdleTime" value="1800" /&gt;
  &lt;/bean&gt;
  
  &lt;bean id="dataSource2" class = "com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close"&gt;
      &lt;property name="driverClass" value="${db.driverClassName}"/&gt;
      &lt;property name="jdbcUrl" value="${db.url}/schema2"/&gt;
      &lt;property name="user" value="${db.username}"/&gt;
      &lt;property name="password" value="${db.password}"/&gt;
  
      &lt;property name="acquireIncrement" value="1" /&gt;
      &lt;property name="idleConnectionTestPeriod" value="100"/&gt;
      &lt;property name="minPoolSize" value="5" /&gt;
      &lt;property name="maxPoolSize" value="50" /&gt;
      &lt;property name="maxIdleTime" value="1800" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>They will be used by difference persistence services.</p>
  
  <p>Thanks.</p>