是否可以在创建过程中更改生成的EclipseLink DDL语句?在persistence.xml中,我使用table-creation-suffix,但它只向CREATE TABLE语句添加了一些内容。还有很多ALTER TABLE语句,我无法改变。像table-alteration-suffix这样的东西会很好。
<property name="eclipselink.ddl-generation.table-creation-suffix" value=";" />
<property name="eclipselink.ddl-generation" value="drop-and-create-tables" />
<property name="eclipselink.ddl-generation.output-mode" value="sql-script" />
<property name="eclipselink.application-location" value="/path" />
<property name="eclipselink.create-ddl-jdbc-file-name" value="create.sql" />
<property name="eclipselink.drop-ddl-jdbc-file-name" value="drop.sql" />