add useful methods for EntityManagerUtil