This is a reliable DataSource implementation, based on the pooling logic written for Town and the configuration found in Avalon's excalibur
code.
This uses the normal java.sql.Connection object and
java.sql.DriverManager . The Configuration is like this:
<jdbc>
<pool-controller min="5" max="10" connection-class="my.overrided.ConnectionClass">
<keep-alive>select 1</keep-alive>
</pool-controller>
<driver>com.database.jdbc.JdbcDriver</driver>
<dburl>jdbc:driver://host/mydb</dburl>
<user>username</user>
<password>password</password>
</jdbc>
version: CVS $Revision: 494012 $ since: 4.0 |