DAO and entityManager editing