commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: DBCP, JDBC4 and createArrayOf
Date Thu, 04 Jun 2009 14:40:25 GMT
Shakil Shaikh wrote:
> Hi,
> 
> I wish to use the DBCP 1.2.2 in a project which requires some JDBC4
> functionality, namely createArrayOf of the the Connection interface. Some
> questions:
> 
> 1) Possibly in only my  project, I see that 1.2.2 uses a JDBC4Connection
> under the hood. Is there a way to get direct access to one of the pooled
> connections?

Yes. Look for accessToUnderlyingConnectionAllowed

> 2) I believe that 1.3 has support for createArrayOf. I've considered
> using a
> 1.3 build but can't find a nightly build (they're dated from 2007).
> Would it
> be a good idea to use this unreleased version?

You would have to build that yourself.

Is it a good idea? YMMV. Test it and see. If it works, great. If not,
let us know where it is broken.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message