[hibernate-issues] [Hibernate-JIRA] (HHH-5138) Redesign types + introduce TypeRegistry & TypeResolver