[hibernate-issues] [JIRA] (HHH-6977) Extra lazy collection size query invalid postgresql syntax