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 -> Fail to convert to internal representation

Fail to convert to internal representation

From: Pradeep <gpkreddy74_at_yahoo.com>
Date: 2 Dec 2002 16:25:01 -0800
Message-ID: <f9e374b4.0212021625.7cbfb14a@posting.google.com>


Hi all,

I am using oracle 9.2.0.1 with OracleCacheRowSet implementation(ocr12.zip) and its jdbc driver for jdk 1.3 (classes12.zip).
I am getting the following exception.
java.sql.SQLException: Fail to convert to internal representation

	at oracle.jdbc.rowset.OracleCachedRowSet.getBoolean(OracleCachedRowSet.java:3992)
	at oracle.jdbc.rowset.OracleCachedRowSet.getBoolean(OracleCachedRowSet.java:4855)

I was able to insert and update the row in the database and populate a rowset after fetching the row. The particular boolean its failing on is created as CHAR(1) NULL column in the table.  I tried using sun CachedRowSet implementation. It is giving me a ClassCastException on getTimeStamp(). Both fetching Boolean and TimeStamp work fine in Oracle 8i.
Could some explain to me what this error means. Thanks for the help. Pradeep Received on Mon Dec 02 2002 - 18:25:01 CST

Original text of this message

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