Java/Hibernate: Don’t repeat the DAO with a GenericDao
Here, I would like to propose you a good practice concerning the implementation of GenericDao because the basic operations for data persistence are all identical independently of object to save, the methods in question are those of a CRUD: registration (Create), reading (Read), Update (Update) and deletion (Delete). So, don't repeat the DAO!!!! in order to increase our code's productivity due ...more»