[hibernate-issues] [Hibernate-JIRA] Closed: (EJB-366) Using setMaxResults with a NativeQuery with DB2 generates non-working SQL