Modified Hibernate Generic DAO