Vishal Sinha wrote:
> Yes, I was looking for the same myself but was not able to find it.  I have
> added one class JCSDataSourceHelper and modified the existing class
> JDBCDiskCache. I have tried to keep it as low risk, and jcs code will behave
> as it used to do if we revert back to old configuration in cache.ccf.
> 
> For the datasource to work, the only change required in cache.ccf is:
> jcs.auxiliary.JDBC.attributes.url=jdbc/jcsDataSource
> that is, specify datasource jndi instead of DB url
> 
> I have the dependency in the code that datasource jndi name should start
> with “jdbc/”, so pls take care of this.
> 
> I am attaching the files. They will go inside
> org.apache.jcs.auxiliary.disk.jdbc package.

Would you consider opening a JIRA issue to attach the files there? As a
unified diff if I may ask? I would be very much interested to commit
them if you checked the CLA checkbox in JIRA. I could need something
like this myself.

Bye, Thomas.

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jcs-users-h...@jakarta.apache.org

Reply via email to