Updated the GenericDAO classes to use JPA entityManager