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

jdbc: help for "Function sequence error"

1 view
Skip to first unread message

Bijan Hessari

unread,
Apr 25, 1997, 3:00:00 AM4/25/97
to

Hello,
I have a problem, accessing a MS-Access7 database with the
jdbc-odbc-Bridge. While reading the resultsets of a "SELECT * FROM
.. "-query on large tables the following exception is thrown after a
couple of rows:

SQLException: SQLState(S1010) vendor code(0)
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Function
sequence error
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:3669)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:3822)
at sun.jdbc.odbc.JdbcOdbc.SQLGetDataFloat(JdbcOdbc.java:1577)
at
sun.jdbc.odbc.JdbcOdbcResultSet.getDataFloat(JdbcOdbcResultSet.java:1685)
at
sun.jdbc.odbc.JdbcOdbcResultSet.getFloat(JdbcOdbcResultSet.java:487)
at dbcopy.main(dbcopy.java:50)

This error do not depend on a specific table or dataset and everithing
works fine, if I decrease the number of columns to read.
The same SQL-statement send from MS-Query via odbc works allright, so
I think its a bug of the bridge. Has anybody an idea how to
handle this??

thank you,
Bijan


0 new messages