org.hibernate.exception.GenericJDBCException: could not perform sequential read of results (forward)


Solutions on the web601

Solution icon of hibernate
via Hibernate JIRA by Strong Liu, 1 year ago
could not perform sequential read of results (forward)

Solution icon of hibernate
via Hibernate JIRA by Strong Liu, 1 year ago
could not perform sequential read of results (forward)

Solution icon of web
could not perform sequential read of results (forward)

Solution icon of web
could not perform sequential read of results (forward)

Solution icon of web
could not perform sequential read of results (forward)

Solution icon of web
via sourceforge.net by Unknown author, 1 year ago
could not perform sequential read of results (forward)

Solution icon of coderanch
via Coderanch by Ant�nio Silva, 9 months ago
could not execute query

Solution icon of coderanch
via Coderanch by Ali Shair, 9 months ago
could not insert: [com.company.jcollector.scheduler.beans.AnnotatedTeacher]

Solution icon of coderanch
via Coderanch by Dominique Von Hofcheirken, 9 months ago
could not execute query

Solution icon of coderanch
via Coderanch by Emmanuel Garcia, 9 months ago
could not execute query

Stack trace

org.hibernate.exception.GenericJDBCException: could not perform sequential read of results (forward)
	at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.loadSequentialRowsForward(Loader.java:420)
	at org.hibernate.impl.FetchingScrollableResultsImpl.next(FetchingScrollableResultsImpl.java:83)
	at org.hibernate.test.hql.ScrollableCollectionFetchingTest.testScrollingJoinFetchesEmptyResultSet(ScrollableCollectionFetchingTest.java:67)
Caused by: java.sql.SQLException: JZ0R1: Result set is IDLE as you are not currently accessing a row.
	at com.sybase.jdbc3.jdbc.ErrorMessage.raiseError(Unknown Source)
	at com.sybase.jdbc3.jdbc.SybResultSet.checkIfReadableRow(Unknown Source)
	at com.sybase.jdbc3.jdbc.SybResultSet.getColumn(Unknown Source)
	at com.sybase.jdbc3.jdbc.SybResultSet.getLong(Unknown Source)
	at com.sybase.jdbc3.jdbc.SybResultSet.getLong(Unknown Source)
	at org.hibernate.type.LongType.get(LongType.java:51)
	at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:184)
	at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:173)
	at org.hibernate.loader.Loader.getKeyFromResultSet(Loader.java:1120)
	at org.hibernate.loader.Loader.loadSequentialRowsForward(Loader.java:409)
	... 6 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
8 more bugmates