OGM-358 Remove unused function getSession() in OgmEntityManager