Subject JayBird 2.0.0 Hibernate ScrollableResults problems
Author rockxwre
Hi,

Before I start explaning the problem first some background
information:
We develop an application which uses the Hibernate framework to
access a Firebird 1.5 database. Normally we use the latest release
of Jaybird (1.5.x).
I started testing our application with the latest JayBird beta and I
bumped into a problem. We use the Hibernate "ScrollableResults"
class to iterate through a dataset.
The first record that is fetched from the dataset goes well. The
second however, leads to errors which you can find at the end of the
email.
I think this is a bug, since this problem didn't occur in version
1.5.x of Jaybird.

Should I report this in the bugtrack system?

Regards,
Ramon Rockx

WARN JDBCExceptionReporter:57 - SQL Error: 0, SQLState: HY000
ERROR JDBCExceptionReporter:58 - The result set is closed
net.sf.hibernate.exception.GenericJDBCException: error performing
next() - error performing next()
net.sf.hibernate.exception.GenericJDBCException: error performing
next()
at
net.sf.hibernate.exception.SQLStateConverter.handledNonSpecificExcept
ion(SQLStateConverter.java:80)
at net.sf.hibernate.exception.SQLStateConverter.convert
(SQLStateConverter.java:69)
at net.sf.hibernate.exception.JDBCExceptionHelper.convert
(JDBCExceptionHelper.java:29)
at net.sf.hibernate.impl.ScrollableResultsImpl.convert
(ScrollableResultsImpl.java:442)
at net.sf.hibernate.impl.ScrollableResultsImpl.next
(ScrollableResultsImpl.java:98)