Hi
I observe problems when I generate the DDL-script for entities, which are located in several class-folders. I do have the following ant script:
Code:
<hibernatetool destdir=".">
<jpaconfiguration persistenceunit="MySQL_PU" />
<classpath>
<path location="${basedir}/bin" />
<path location="${basedir}/../RevisionEntity/bin"/>
</classpath>
<hbm2ddl drop="true"
create="true"
export="false"
outputfilename="versioning-ddl.sql"
delimiter=";"
format="true" />
</hibernatetool>
the created ddl-script just contains the tables for the first entry ("<path location="${basedir}/bin" />"). If I change to order of the two path entries in "classpath" node, then only the tables for "<path location="${basedir}/../RevisionEntity/bin"/>" are created.
Is there something wrong with my configuration of the hibernatetool-task? Can somebody helmp me?
Thanks in advance
Hansjoerg