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

Hibernate JIRA | Strong Liu | 7 years ago
  1. 0

    {quote} Result set is IDLE as you are not currently accessing a row. Description: The application has called one of the ResultSet.getXXX column-data retrieval methods, but there is no current row; the application has not called ResultSet.next(), or ResultSet.next() returned "false" to indicate that there is no data. Action: Check that rs.next() is set to "true" before calling rs.getXXX. {quote} 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) ... 31 more

    Hibernate JIRA | 7 years ago | Strong Liu
    org.hibernate.exception.GenericJDBCException: could not perform sequential read of results (forward)
  2. 0

    {quote} Result set is IDLE as you are not currently accessing a row. Description: The application has called one of the ResultSet.getXXX column-data retrieval methods, but there is no current row; the application has not called ResultSet.next(), or ResultSet.next() returned "false" to indicate that there is no data. Action: Check that rs.next() is set to "true" before calling rs.getXXX. {quote} 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) ... 31 more

    Hibernate JIRA | 7 years ago | Strong Liu
    org.hibernate.exception.GenericJDBCException: could not perform sequential read of results (forward)
  3. 0

    unexpected behavior from beforeFirst

    Google Groups | 1 decade ago | johngregg
    java.sql.SQLException: JZ0R1: Result set is IDLE as you are not currently accessing a row.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Symantec Endpoint Protection Manager Service will not start | Symantec Connect

    symantec.com | 1 year ago
    java.sql.SQLException: JZ0R1: Result set is IDLE as you are not currently accessing a row.
  6. 0

    Re: java.sql.SQLException: JZ0R1: Result set is IDLE as you are not currently access

    postgresql.org | 1 year ago
    java.sql.SQLException: JZ0R1: Result set is IDLE as you are not currently access ing a row.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      JZ0R1: Result set is IDLE as you are not currently accessing a row.

      at com.sybase.jdbc3.jdbc.ErrorMessage.raiseError()
    2. com.sybase.jdbc3
      SybResultSet.getLong
      1. com.sybase.jdbc3.jdbc.ErrorMessage.raiseError(Unknown Source)
      2. com.sybase.jdbc3.jdbc.SybResultSet.checkIfReadableRow(Unknown Source)
      3. com.sybase.jdbc3.jdbc.SybResultSet.getColumn(Unknown Source)
      4. com.sybase.jdbc3.jdbc.SybResultSet.getLong(Unknown Source)
      5. com.sybase.jdbc3.jdbc.SybResultSet.getLong(Unknown Source)
      5 frames
    3. Hibernate
      Loader.loadSequentialRowsForward
      1. org.hibernate.type.LongType.get(LongType.java:51)
      2. org.hibernate.type.NullableType.nullSafeGet(NullableType.java:184)
      3. org.hibernate.type.NullableType.nullSafeGet(NullableType.java:173)
      4. org.hibernate.loader.Loader.getKeyFromResultSet(Loader.java:1120)
      5. org.hibernate.loader.Loader.loadSequentialRowsForward(Loader.java:409)
      6. org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
      7. org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
      8. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      9. org.hibernate.loader.Loader.loadSequentialRowsForward(Loader.java:420)
      9 frames
    4. Hibernate
      FetchingScrollableResultsImpl.next
      1. org.hibernate.impl.FetchingScrollableResultsImpl.next(FetchingScrollableResultsImpl.java:83)
      1 frame
    5. org.hibernate.test
      ScrollableCollectionFetchingTest.testScrollingJoinFetchesEmptyResultSet
      1. org.hibernate.test.hql.ScrollableCollectionFetchingTest.testScrollingJoinFetchesEmptyResultSet(ScrollableCollectionFetchingTest.java:67)
      1 frame