[hibernate-issues] [JIRA] (HHH-16471) Entities serialized in QueryKey causes java.lang.ClassCastException