[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3483) org.hibernate.test.hql.ScrollableCollectionFetchingTest#testScrollingJoinFetchesForward unsupported by DB2
Gail Badner (JIRA)
noreply at atlassian.com
Tue Sep 16 14:29:04 EDT 2008
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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list