[hibernate-issues] [Hibernate-JIRA] (BVAL-393) Revert "intersection type trick"