ENH: Refactoring - protected entityManager in BasicDaoImpl.java