[hibernate-issues] [JIRA] (HHH-6053) Create an interface for centralizing the contract that is shared between Session and StatelessSession