[hibernate-issues] [JIRA] (HHH-3931) setMaxResults overwritten by NULL after set to 2 by getSingleResult()