Hello every one:
I am looking for a tutorial about generating DAOs with eclipse plugin. I have read the doc available and generated teh DAOs succefully, but there are few more things I need to do besede the generation:
1- customize teh name of the generated method: For example: the generated code has a metod called findById. I need to call this method retrieveEntity where Entity is the class name. I can do this manually, but if I have many classes to follow this naming pattern then I need to do it the code generation.
2- rename the DAO class. hibernate puts EntityHome. I need EntityDao.
3- I need to use different way to obtain session. For example may be a HibernateUtil that gives a session saved in threadLocal.
4- since I am new to hibernate I would like some documentation about the generated methods (merge, attachClean, findByExample .. etc) and what they do.
Any Idea or link to a tutorial ??