commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject dbcp + oracle
Date Wed, 18 Dec 2002 19:48:22 GMT
Thanks again Craig.
I finally figured out how to solve my issue.
The oracle implementation of sql Array requires an OracleConnection.
However, the connection I got from the data source is a wrapper around the
OracleConnection. Oracle jdbc didn't understand what type of Connection this
wrapper is. So I have to explicitly use ((PoolableConnection)
dataSource.getConnection()).getDelegate() and pass this underlying
connection to oracle.
Phillip Qin
"This Guy Thinks He Knows Everything"
Canadian Shareowner
121 Richmond Street W, 7th Floor
Toronto, ON M5H 2K1
(416) 595-9600 ext 291

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message