67,513
社区成员
发帖
与我相关
我的任务
分享
<target name="schema1" depends="compile">
<taskdef name="schemaexportTask"
classname="org.hibernate.tool.hbm2ddl.SchemaExportTask"
classpathref="project.class.path"/>
<schemaexportTask
properties="${class.root}/hibernate.cfg.xml"
output="${schema.dir}/sampledb.sql"
quiet="true"
text="true"
drop="true"
create="true"
delimiter=";">
</schemaexportTask>
</target>