Generic Dao Implementation for Spring, Hibernate