You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Ken Horn <ke...@db.com> on 2002/11/20 11:46:54 UTC

[DBCP] PATCH: DelegatingResultSet.java -- need delegate

Somewhat inconsistently with the other Delegating* implementations, the DelegatingResultSet does not provide a getDelegate() method. I needed the specific one in order to use some horrific Oracle BLOB handling code. Patch below.

*** DelegatingResultSet.java.orig       Wed Nov 20 10:44:37 2002
--- DelegatingResultSet.java    Tue Nov 19 20:23:28 2002
***************
*** 124,129 ****
--- 124,133 ----
      }


+     public ResultSet getDelegate() {
+         return _res;
+     }
+
      public Statement getStatement() throws SQLException {
          return _stmt;
      }

________________
Ken Horn
OTC IT
Tel: 020 7545 1264


--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>