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. Good luck. --- Kevin HaleBoyes <[EMAIL PROTECTED]> wrote: > I'm using Tomcat 4.1.18 and the connection pooling (DBCP but I'm not > sure what version) that comes with it. I've got a connection, > prepared a (select) statement and executed the query. This always > works great but I've got a special case that I need to handle. > > I'm trying to insert/update a Blob into an Oracle database. All of > the literature says that I must cast my ResultSet to an > OracleResultSet and call the getBLOB() method (note: I'm not calling > the standard getBlob() method). Given the Oracle BLOB (locator) I > can stream the contents to the database. > > Now, the ResultSet that I'm getting from the stmt.executeQuery() call > is a DelegatingResultSet from the dbcp package and that can not be > casted into the (ultimately underlying) OracleResultSet. > > I noticed that there is a method in DelegatingResultSet to get the > Statement but none to get the ResultSet. If I could get the > contained ResultSet then I could do the cast. > > Does anyone have any advice on how to proceed? > Thanks, > Kevin. > > __________________________________________________ > Do you Yahoo!? > Yahoo! Shopping - Send Flowers for Valentine's Day > http://shopping.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]