[hibernate-issues] [JIRA] (HV-922) Avoid unnecessary conversions from Collections to arrays and vice versa