[hibernate-issues] [JIRA] (HHH-2430) select count(a), a fom Entity a where a.class in (Entity, EntitySubclass)