A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
getting underlying oracle connection from Poolable connection
Joined: Oct 21, 2005
Apr 27, 2006 01:20:00
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
Joined: Jun 26, 2006
Feb 04, 2007 00:11:00
Did you got the solution for this? I am facing the same problem
subject: getting underlying oracle connection from Poolable connection
Any Replacement of ArrayDescriptor?
ClassCastException on Oracle ArrayDescriptor
Any replacement for ArrayDescriptor?
any replacement for ArrayDescriptor
Apache Commons DBCP connection object problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014