We're updating the issue view to help you get more done. 

NativeQuery#iterate throws QuerySyntaxException instead of UnsupportedOperationException

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.

Environment

PostgreSQL 9.5.5 Hibernate 5.2.8

Status

Assignee

Andrea Boriero

Reporter

RussT

Labels

Worked in

4.3.11

Components

Fix versions

Affects versions

5.2.8

Priority

Major