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. |