[SJN-81] Allow DBCP parameters to be passed in | |
| Status: | Closed |
| Project: | Simple-JNDI |
| Component/s: | Converter |
| Affects Version/s: | |
| Fix Version/s: | 0.11.3 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Henri Yandell | Assignee: | Unassigned |
| Resolution: | Fixed | ||
| Environment: | |||
| Description |
| It was asked on the list:
"The documentation says that simple-jndi uses DBCP to provide DataSource pooling. My question which may be the same as the thread before this is, "How can you set typical DBCP parameters when you set pooling=true?" For example, I'd like to set validationQuery as well as MaxActive etc." |
| Comment by bayard [ Sat, 22 Mar 2008 14:19:37 -0700 (PDT) ] |
| svn ci -m "Improving so three DBCP parameters are supported as per Sending simple-jndi/src/java/org/osjava/sj/loader/PoolSetup.java Sending simple-jndi/src/java/org/osjava/sj/loader/SJDataSource.java Sending simple-jndi/src/java/org/osjava/sj/loader/convert/DataSourceConverter.java Sending simple-jndi/src/test/config/pooltest/OneDS.properties Sending simple-jndi/src/test/config/pooltest/TwoDS.properties Sending simple-jndi/src/test/org/osjava/sj/loader/JndiLoaderTest.java Sending simple-jndi/xdocs/manual/DataSources.xml Transmitting file data ....... Committed revision 2659. |
| Comment by bayard [ Sat, 22 Mar 2008 14:21:37 -0700 (PDT) ] |
| Doesn't do MaxActive yet. |
| Comment by bayard [ Sat, 22 Mar 2008 14:43:32 -0700 (PDT) ] |
| svn ci -m "Adding support for the GenericObjectPool parameters as per Sending simple-jndi/src/java/org/osjava/sj/loader/PoolSetup.java Transmitting file data . Committed revision 2660. |