[hibernate-issues] [JIRA] (HHH-5991) Revist passing of ServiceRegistry to Configuration to build a SessionFactory