[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5229?page=c...
]
Strong Liu resolved HHH-5229.
-----------------------------
Resolution: Won't Fix
Fix Version/s: (was: 3.5.x)
(was: 3.6)
get confirmation from Sybase, this does a bug in jConnect, a issue has been raise in
Sybase bug tracking system (CR# 632139)
org.hibernate.test.hql.ScrollableCollectionFetchingTest.testScrollingJoinFetchesEmptyResultSet()
fails on sybase
----------------------------------------------------------------------------------------------------------------
Key: HHH-5229
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5229
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.5.1, 3.5.2
Reporter: Strong Liu
Assignee: Gail Badner
{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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira