Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Can't cast ResultSetProxy to oracle.jdbc.driver.ResultSet using datasource

Re: Can't cast ResultSetProxy to oracle.jdbc.driver.ResultSet using datasource

From: Joe Pearse <joepearse_at_hotmail.com>
Date: 3 May 2002 16:16:39 -0700
Message-ID: <2d5d414f.0205031516.22369118@posting.google.com>


For what it's worth, Websphere uses proxy objects for most jdbc type objects, including ConnectionProxy, StatementProxy, ResultSetProxy, etc, but not for the data objects. The solution is to shift the casting from the resultSet to the clob, as follows:

oracle.sql.CLOB clobDB = (oracle.sql.CLOB)resultSet.getClob("Data");

Hope this helps.
  Joe Received on Fri May 03 2002 - 18:16:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US