This is an exported version of the JIRA issue tracker. Please use the Google Code site to open new tickets or report updates to these existing tickets. Feel free to contact the mailing list with any questions.

[SJN-81] Allow DBCP parameters to be passed in
Created: Sat, 22 Mar 2008 14:18:48 -0700 (PDT)  Updated: Sat, 22 Mar 2008 14:44:17 -0700 (PDT)

Status:Closed
Project:Simple-JNDI
Component/s:Converter
Affects Version/s:
Fix Version/s:0.11.3

Type:ImprovementPriority: Major
Reporter:Henri YandellAssignee: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 SJN-81"
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 SJN-81"
Sending simple-jndi/src/java/org/osjava/sj/loader/PoolSetup.java
Transmitting file data .
Committed revision 2660.