Register / Login
Win a copy of
Think Java: How to Think Like a Computer Scientist
this week in the
Java in General
JDBC and Relational Databases
getting underlying oracle connection from Poolable connection
posted 10 years ago
Iam want to pass an Array to a oracle procedure for which Iam using ArrayDescriptor.
ArrayDescriptor descriptor =
ArrayDescriptor.createDescriptor( "NUM_ARRAY", conn );
ARRAY array_to_pass =
new ARRAY( descriptor, conn, lRelVersions );
Now the problem is that it is giving me
when I pass the Poolabale Connection in the ArrayDescriptor.createDescriptor(), as it requires Oracle Connection.
Can anybody tell me how do I get the underlying Oracle connection from Poolable connection.
I tried the getDelegate() method but its not working.
Iam using commons-dbcp-1.2.1.jar, commons-pool-1.2.jar and classes12.jar
posted 9 years ago
Did you got the solution for this? I am facing the same problem
Any Replacement of ArrayDescriptor?
any replacement for ArrayDescriptor
Any replacement for ArrayDescriptor?
Apache Commons DBCP connection object problem
ClassCastException on Oracle ArrayDescriptor