Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-950

HHH-3483 - org.hibernate.test.hql.ScrollableCollectionFetchingTest#testScrollingJoinFetchesForward unsupported by DB2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.GA_CP05, 4.3.0.GA_CP03
    • 4.2.0.GA_CP04, 4.3.0.GA_CP02
    • Hibernate
    • None
    • JUnit tests with DB2

    • Release Notes

      Test org.hibernate.test.hql.ScrollableCollectionFetchingTest#testScrollingJoinFetchesForward uses scroll mode FORWARD_ONLY, but DB2 supports only SCROLL_INSENSITIVE and SCROLL_SENSITIVE for this query:

      .createQuery( "from Animal a left join fetch a.offspring where a.description like :desc order by a.id" )
      .setString( "desc", "root%" )
      .scroll( ScrollMode.FORWARD_ONLY );

      The SCROLL_INSENSITIVE type works fine, but this test is about FORWARD_ONLY, right?

            gbadner@redhat.com Gail Badner (Inactive)
            jpkroehling@redhat.com Juraci Paixão Kröhling (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: