Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CachedRowSet

4 views
Skip to first unread message

sivamohan

unread,
Mar 22, 2001, 9:50:46 AM3/22/01
to
I did a simple select statement on a Table which has a column c
CLOB
then pass the ResultSet rs to CachedRow crst.populate(rs) but it
is throwing the following exception.

my code:
rs = ps.executeQuery();
crs = new CachedRowSet();
crs.populate(rs); // error is here
crs.setTableName(table);

Exception is here:
java.lang.NumberFormatException: 4294967295
at java.lang.Integer.parseInt(Integer.java, Compiled
Code)
at java.lang.Integer.parseInt(Integer.java:458)
at
oracle.jdbc.driver.OracleResultSetMetaData.getPrecision
(OracleResultS
etMetaData.java:276)
at weblogic.jdbcbase.jts.ResultSetMetaData.getPrecision
(ResultSetMetaDat
a.java:173)
at
weblogic.jdbc20.rmi.internal.ResultSetMetaDataImpl.getPrecision
(Resul
tSetMetaDataImpl.java:116)
at
weblogic.jdbc20.rmi.SerialResultSetMetaData.getPrecision
(SerialResult
SetMetaData.java:200)
at sun.jdbc.rowset.CachedRowSet.initMetaData
(CachedRowSet.java:681)
at sun.jdbc.rowset.CachedRowSet.populate
(CachedRowSet.java:647)
at com.sita.sp.supporter.ejb.SupporterEJB.search
(SupporterEJB.java, Comp
iled Code)
at com.sita.sp.supporter.ejb.SupporterEJBEOImpl.search
(SupporterEJBEOImp
l.java:153)
at
com.sita.sp.supporter.ejb.SupporterEJBEOImpl_WLSkel.invoke
(SupporterE
JBEOImpl_WLSkel.java:212)
at
weblogic.rmi.extensions.BasicServerObjectAdapter.invoke
(BasicServerOb
jectAdapter.java, Compiled Code)
at
weblogic.rmi.extensions.BasicRequestHandler.handleRequest
(BasicReques
tHandler.java:77)
at weblogic.rmi.internal.BasicExecuteRequest.execute
(BasicExecuteRequest
java:15)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
Compiled Code)

Please help!
Thanks
Mohan
mohan.th...@sita.int

0 new messages