I am sorry I've clicked button too soon. Here is a sample from one of our
targets that does exactly that:
| <target name="schemaexport" depends="compile" description="Exports a
generated schema to DB and file">
| <hibernatetool destdir="${source.root}">
| <annotationconfiguration
configurationfile="${class.root}/hibernate.cfg.xml"/>
|
| <hbm2ddl drop="true" create="true" />
| </hibernatetool>
| </target>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120241#4120241
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120241
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user