Subject | ResultSet.next() throws GDS Exception: Cursor Unknown |
---|---|
Author | rash_jeanne |
Post date | 2004-05-12T17:20:32Z |
I am testing the FirebirdSQL-1.5.0Beta3 for JDK_1.4 using a Prepared
statement that should return a single record.
When I attempt to retrieve the record using ResultSet.next() the
following error is thrown:
org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544569.
Dynamic SQL Error SQL error code = -504
Cursor unknown
at org.firebirdsql.jdbc.FBStatementFetcher.fetch
(FBStatementFetcher.java:186)
at org.firebirdsql.jdbc.FBStatementFetcher.next
(FBStatementFetcher.java:104)
at org.firebirdsql.jdbc.FBResultSet.next(FBResultSet.java:196)
at com.eplus.model.BaseQueryModel.refresh(Unknown Source)
at com.eplus.model.UserAccountCollection.<init>(Unknown
Source)
at com.eplus.model.UserAccountCollection.getInstance(Unknown
Source)
at com.eplus.model.Test.performTest(Unknown Source)
at com.eplus.model.Test.main(Unknown Source)
at org.firebirdsql.gds.GDSException: Dynamic SQL Error
SQL error code = -504
Cursor unknown
at org.firebirdsql.jgds.GDS_Impl.readStatusVector
(GDS_Impl.java:1756)
at org.firebirdsql.jgds.GDS_Impl.receiveResponse
(GDS_Impl.java:1709)
at org.firebirdsql.jgds.GDS_Impl.isc_dsql_fetch
(GDS_Impl.java:1074)
at org.firebirdsql.jca.FBManagedConnection.fetch
(FBManagedConnection.java:801)
at org.firebirdsql.jdbc.AbstractConnection.fetch
(AbstractConnection.java:932)
at org.firebirdsql.jdbc.FBStatementFetcher.fetch
(FBStatementFetcher.java:180)
at org.firebirdsql.jdbc.FBStatementFetcher.next
(FBStatementFetcher.java:104)
at org.firebirdsql.jdbc.FBResultSet.next(FBResultSet.java:196)
at com.eplus.model.BaseQueryModel.refresh(Unknown Source)
at com.eplus.model.UserAccountCollection.<init>(Unknown
Source)
at com.eplus.model.UserAccountCollection.getInstance(Unknown
Source)
at com.eplus.model.Test.performTest(Unknown Source)
at com.eplus.model.Test.main(Unknown Source)
Thanks,
Jeanne
statement that should return a single record.
When I attempt to retrieve the record using ResultSet.next() the
following error is thrown:
org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544569.
Dynamic SQL Error SQL error code = -504
Cursor unknown
at org.firebirdsql.jdbc.FBStatementFetcher.fetch
(FBStatementFetcher.java:186)
at org.firebirdsql.jdbc.FBStatementFetcher.next
(FBStatementFetcher.java:104)
at org.firebirdsql.jdbc.FBResultSet.next(FBResultSet.java:196)
at com.eplus.model.BaseQueryModel.refresh(Unknown Source)
at com.eplus.model.UserAccountCollection.<init>(Unknown
Source)
at com.eplus.model.UserAccountCollection.getInstance(Unknown
Source)
at com.eplus.model.Test.performTest(Unknown Source)
at com.eplus.model.Test.main(Unknown Source)
at org.firebirdsql.gds.GDSException: Dynamic SQL Error
SQL error code = -504
Cursor unknown
at org.firebirdsql.jgds.GDS_Impl.readStatusVector
(GDS_Impl.java:1756)
at org.firebirdsql.jgds.GDS_Impl.receiveResponse
(GDS_Impl.java:1709)
at org.firebirdsql.jgds.GDS_Impl.isc_dsql_fetch
(GDS_Impl.java:1074)
at org.firebirdsql.jca.FBManagedConnection.fetch
(FBManagedConnection.java:801)
at org.firebirdsql.jdbc.AbstractConnection.fetch
(AbstractConnection.java:932)
at org.firebirdsql.jdbc.FBStatementFetcher.fetch
(FBStatementFetcher.java:180)
at org.firebirdsql.jdbc.FBStatementFetcher.next
(FBStatementFetcher.java:104)
at org.firebirdsql.jdbc.FBResultSet.next(FBResultSet.java:196)
at com.eplus.model.BaseQueryModel.refresh(Unknown Source)
at com.eplus.model.UserAccountCollection.<init>(Unknown
Source)
at com.eplus.model.UserAccountCollection.getInstance(Unknown
Source)
at com.eplus.model.Test.performTest(Unknown Source)
at com.eplus.model.Test.main(Unknown Source)
Thanks,
Jeanne