[hibernate-issues] [JIRA] (HHH-13997) Add methods to SessionImpl and StatefulPersistenceContext; make Loader#registerNonExists protected