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

NativeQuery#iterate throws QuerySyntaxException instead of UnsupportedOperationException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.8
    • Fix Version/s: 5.2.9
    • Component/s: hibernate-core
    • Labels:
    • Environment:
      PostgreSQL 9.5.5
      Hibernate 5.2.8
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Worked in:
    • Last commented by a user?:
      true

      Description

      There is no implementation for iterate in NativeQueryImpl.java like there is for list and scroll (doList and doScroll).

      It treats the NativeQuery as HQL as a result instead of SQL.

      Also, org.hibernate.Query#iterate has a spelling mistake. "pre row" should be "per row".

      I don't think this requires a test-case as it appears to be just a missing implementation.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: