rename getEntityManager to getManager
Revert "rename getEntityManager to getManager"

This reverts commit 35c16ccbe80030c958832be8eba69b8c31b3b32a.