I would like to get a Datasource via JNDI . Simple enough.
But then also set the Properties of the retrieved Datasource.
All via Spring Declarative Bean Configuration.
Is this possible? How? Via ProxyInterface?
Background:
I have a oracle.jdbc.pool.OracleDataSource JNDI Resource in Tomcat.
The OracleDataSource only has a
to configure the Cache and Tomcat ResourceParams does'nt know about Properties.Code:public void setConnectionCacheProperties(Properties properties)
And since Spring does, it that maybe i can configure the ConnectionCacheProperties with Spring.
Any hints are greatly welcomed.
Christoph


Reply With Quote