Hi, i'm using Ant to generate my classes from a database.
Only, i want to rename the classes generated, so i thought that i could base the generation on a mapping file that i created.
but it doesn't work :(
i tried
<hibernatetool>
<jdbcconfiguration propertyfile="hibernate.properties">
<fileset dir="${basedir}/config">
<include name="Testtable.hbm.xml" />
</fileset>
</jdbcconfiguration>
<hbm2java jdk5="true" destdir="${basedir}/src" />
</hibernatetool>
but i got an error because it doesn't find the classes (obviously because i want to generate them)
i look in reverse engineering but i have not found the balise to rename class
If someone knows
Thanks
|