Working on the JPA DAO implementation