Uploaded image for project: 'Hibernate ORM'
  1. HHH-10489

DB2400Dialect could use the same LimitHandler as DB2Dialect

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.7, 5.0.11
    • Fix Version/s: 5.2.4
    • Component/s: hibernate-core
    • Labels:
    • Environment:
      Hibernate 5.0.7
      DB2 for i (DB2/400)
    • Last commented by a user?:
      true
    • Sprint:

      Description

      If using Query.setFirstResult(int) with DB2400Dialect an Exception is thrown:

      java.lang.UnsupportedOperationException: query result offset is not supported

      This problem didn't occur in previous versions (prior to Hibernate version 5).

      Working with DB2Dialect Query.setFirstResult(int) works. Looking at the code of DB2Dialect, I assume that DB2400Dialect could use the same LimitHandler as DB2Dialect.

        Attachments

          Issue links

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: