]
Gail Badner resolved HHH-3483.
------------------------------
Resolution: Fixed
Fixed in trunk / 3.3 / 3.2
org.hibernate.test.hql.ScrollableCollectionFetchingTest#testScrollingJoinFetchesForward
unsupported by DB2
----------------------------------------------------------------------------------------------------------
Key: HHH-3483
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3483
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.2.6
Environment: DB2
Reporter: Gail Badner
Assignee: Gail Badner
Fix For: 3.2.x, 3.3.x
Test
org.hibernate.test.hql.ScrollableCollectionFetchingTest#testScrollingJoinFetchesForward
uses scroll mode FORWARD_ONLY, but DB2 requires SCROLL_INSENSITIVE and SCROLL_SENSITIVE
for scrolling.
This is not a bug. According to the JDBC spec, a TYPE_FORWARD_ONLY ResultSet is
non-scrollable, so isAfterLast does not need to be supported.
The fix is for DB2Dialect to override
Dialect.supportsResultSetPositionQueryMethodsOnForwardOnlyCursor() and return false.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: