不使用hibernate ant工具任务创建hibernate_序列create语句
目前正在使用hibernate ant工具任务,使用hbm文件生成ddl文件,如下所示不使用hibernate ant工具任务创建hibernate_序列create语句,hibernate,hibernate-tools,Hibernate,Hibernate Tools,目前正在使用hibernate ant工具任务,使用hbm文件生成ddl文件,如下所示 <hibernatetool destdir="${project.build.directory}/sql"> <classpath> <path refid="maven.test.classpath"/> </classpath> <configuration configurationfile=&qu
<hibernatetool destdir="${project.build.directory}/sql">
<classpath>
<path refid="maven.test.classpath"/>
</classpath>
<configuration configurationfile="${platform-path}/hibernate.cfg.xml">
<fileset dir="${project.build.outputDirectory}">
<include name="**/*.hbm.xml"/>
</fileset>
</configuration>
<hbm2ddl drop="false" create="true" export="${metadata.database.generate}" outputfilename="create.ddl" delimiter=";" format="true" console="${hbm2ddl.console}"/>
但是生成的ddl文件的第一行是
创建序列休眠\u序列开始1增量1
我不希望生成文件中的第一行,因为数据库已经创建了hibernate_序列
请告知