Hibernate DAO implementation updated