commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: [DBCP] getting the underlying result set for Blob processing
Date Tue, 11 Feb 2003 17:37:35 GMT


On Tue, 11 Feb 2003, Stephen Westbom wrote:

> Date: Tue, 11 Feb 2003 09:31:31 -0800 (PST)
> From: Stephen Westbom <swestbom@yahoo.com>
> Reply-To: Jakarta Commons Users List <commons-user@jakarta.apache.org>
> To: Jakarta Commons Users List <commons-user@jakarta.apache.org>
> Subject: Re: [DBCP] getting the underlying result set for Blob processing
>
> Get the source code (you will need JUnit and Ant) and put a method in to get
> the underlying result set (_res).  DelegatingResultSet is a Delegator or
> wrapper pattern class.  The underlying result set object is passed in through
> the constructor and is private (nothing is exposed to get it).
>
> I have done things like this several times to overcome bugs in this code, it is
> fairly easy to roll your own version of the jar file.
>

The precise change you suggest was added to DelegatingResultSet subsequent
to the 1.0 release -- grab a recent nightly build and you can call the
getDelegate() method to get the underlying ResultSet that is being
wrapped.

  http://jakarta.apache.org/builds/jakarta-commons/nightly/commons-dbcp

> Good luck.

Craig

Mime
View raw message