I created a Test Case that uses c3p0, Oracle, and CallableStatements and the issue does not replicate. In my test, I always get a com.mchange.v2.c3p0.impl.NewProxyCallableStatement@2b4af308 [wrapping: oracle.jdbc.driver.OracleCallableStatementWrapper@2f8f6b6e object instead of a NewProxyPreparedStatement one. I'm using the following dependencies:
- com.mchange:c3p0:0.9.5.2
- com.oracle.ojdbc:ojdbc7:12.1.0.2.0
I can only assume that this was either a c3p0 issue or an Oracle Driver bug that got fixed. |