Package org.hibernate.tool.schema.spi
Interface Exporter<T extends Exportable>
-
public interface Exporter<T extends Exportable>
Defines a contract for exporting of database objects (tables, sequences, etc) for use in SQLCREATE
andDROP
scripts. This is an ORM-centric contract
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]
NO_COMMANDS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]
getSqlCreateStrings(T exportable, Metadata metadata)
Get the commands needed for creation.java.lang.String[]
getSqlDropStrings(T exportable, Metadata metadata)
Get the commands needed for dropping.
-