[hibernate-issues] [JIRA] (HHH-11763) Limiting number of results breaks query execution