Hi all,
Quote:
you can use <hbmtemplate> with ant and solve it.
I have been searching for solutions to this exact same isse (and other related), and all point to this solution. Use ant instead of the UI.
Is there no other way?
Even if we have to provide generator classes we create, or fill a few XML files, etc. But instead of having to use an ANT task stiil be able to use the Hibernate Tools UI for the table selection and other parameters customized in any way possible?
Basically what I find everyone asks for is the ability to change the generated class file names, and to be able to provide new templates (*.vm) for generation of other classes for each entity/table with is reversed engeneered.
I gather from your response Max that you are thinking to extend the UI to acomodate some of these requests.
Basically what I ask here is if there is any other way other than an ANT task to acomplish this result even if we have to extend a custom generator class as Sangeeta pointed out...
Quote:
Does it have to do anything with the DAOExporter.class file under org\hibernate\tool\hbm2x of the hibernate-tools.jar. the init() has the statement: setFilePattern("{package-name}/{class-name}DAO.java")
We can provide an reveng.strategy class. Is this a way to get to a solution?
Thanks and sorry for the insistence on this issue.
Recargs