I'm still not getting this right. My original data source configuration is:
HTML Code:
<bean id="dataSource" class="oracle.jdbc.pool.OracleConnectionCacheImpl" destroy-method="close">
<property name="URL" value="jdbc:oracle:thin@(... url ...)>
<property name="user" value="${database.user}"/>
<property name="password" value="${database.password}"/>
<property name="maxLimit" value="${database.maxActive}"/>
</bean>
To get Craftsman Spy to work, changed it to the following:
HTML Code:
<bean id="dataSource" class="oracle.jdbc.pool.OracleConnectionCacheImpl" destroy-method="close">
<property name="URL" value="jdbc:spy:oracle:thin@(... url ...)" >
<property name="user" value="${database.user}"/>
<property name="password" value="${database.password}"/>
<property name="maxLimit" value="${database.maxActive}"/>
<property name="driverType" value="craftsman.spy.SpyDriver" />
</bean>
When I run the application, I get an error stating "Invalid Oracle URL specified".
Any idea what I'm doing wrong?
Thanks again,
Ben