Joined: Fri Jun 15, 2007 7:16 am Posts: 1
|
Hi,
I am trying to generate my mapping files for Oracle 9i database tables.
But right now it is generating for all the files. Below is the snippet
from my ant script
<taskdef name="hibernatetool"
classname="org.hibernate.tool.ant.HibernateToolTask"
classpathref="${classpath}"/>
<hibernatetool destdir="${build.dir}/da/model/">
<jdbcconfiguration propertyfile="${hib.prop}" /-->
<!-- CREATE HIBERNATE CFG FILE -->
<hbm2cfgxml/>
<!-- CREATE HIBERNATE MAPPING FILE FOR EACH TABLE IN THE DATABASE
-->
<hbm2hbmxml/>
<!-- CREATE THE JAVA CLASSES FOR THE TABLES IN THE DATABASE -->
<hbm2java/>
</hibernatetool>
Is there anyway that I can restrict the file generation to specific
tables. Any pointers would be of great help.
Thanks
ABC
|
|