DAO Generation Templates
629492Mar 26 2008 — edited Mar 28 2008Hello,
we are mapping the database with topLink. Using myEclipse ('generate entities & DAO..'). But we would like to customize this generation so that it also create beans, and also change the output packages etc.
Why? Because we are strarting the dev, but we know the DB will change a lot. So we will have to often regenerate DAOs.
We tried to put a custom template (found it here: "http://www.hibernate.org/255.html") and modify it, but it's not working very well.
How do you guys do? do you have like a graphical template editor? do you have some other template examples?
Anything/link/ideas is welcome.
Tx ;)