hi,
I try to run following ant task. But get error:
<hibernatetool destdir=".">
<classpath refid="project.class.path"/>
<configuration configurationfile="hibernate.cfg.xml" propertyFile="hibernate.properties">
</configuration>
<hbm2ddl/>
</hibernatetool>
Error states that EnumUserType is not recognized.
The way I am trying to map enum is as per this:
http://www.hibernate.org/272.html
For me hibernatesynchronizer does generate DDL for same mapping file having enum. But not able to generate with ant task.
Can anyone tell how ant task has to be called for doing hbm2ddl similar to hybernatesynchronizer.
Thanks,
Hari