[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5138) Redesign types and introduce TypeRegistry