Subject | Re: org.firebirdsql.gds.GDSException: request synchronization error |
---|---|
Author | rrokytskyy |
Post date | 2002-04-11T13:28:40Z |
Can you reproduce this error when you have just few rows in your
table (certainly the buggy should be there)? I would appreciate if
you could send a standalone test (you might have a look on driver's
test cases, it is easy to create similar). It would simplify me the
debugging process.
Best regards,
Roman Rokytskyy
table (certainly the buggy should be there)? I would appreciate if
you could send a standalone test (you might have a look on driver's
test cases, it is easy to create similar). It would simplify me the
debugging process.
Best regards,
Roman Rokytskyy
--- In Firebird-Java@y..., "Ken Richard" <kenr@a...> wrote:
> Additional Information: I tracked the problem down to a specific
query
> and then to a specific row in the database. There is a row with a
(C)
> copyright SYMBOL. I am not setting any character set encodings for
the
> database or for the driver.
>
> When run through interclient or ibcolsole, selecting * from the
table
> returns all rows. When run through the new driver, the next()
returns
> false when the row containing the (C) is reached and then the driver
> throws an exception when the resultset is closed:
>
> java.sql.SQLException: problem closing resultset:
> org.firebirdsql.gds.GDSException: request synchronization error
> at
> org.firebirdsql.jdbc.FBStatement.closeResultSet
(FBStatement.java:855)
>
> at
> org.firebirdsql.jdbc.FBResultSet$FBStatementFetcher.close
(FBResultSet
> .java:2540)
> at org.firebirdsql.jdbc.FBResultSet.close
(FBResultSet.java:178)
> at test.model.AesBrowserTests2.main
(AesBrowserTests2.java:36)
>
> I may be doing something wrong with the encodings (is taking the
default
> OK or should I be setting something?) but the driver should be
throwing
> an exception when next() hits that row instead of just returning
false.