Package org.hibernate.tool.schema.spi
Interface Exporter<T extends Exportable>
- All Known Implementing Classes:
OracleUserDefinedTypeExporter,StandardAuxiliaryDatabaseObjectExporter,StandardForeignKeyExporter,StandardIndexExporter,StandardSequenceExporter,StandardTableExporter,StandardUniqueKeyExporter,StandardUserDefinedTypeExporter
public interface Exporter<T extends Exportable>
Defines a contract for exporting of database objects (tables, sequences, etc)
for use in SQL
CREATE and DROP scripts.- API Note:
- This is an ORM-centric contract.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionString[]getSqlCreateStrings(T exportable, Metadata metadata, SqlStringGenerationContext context) Get the commands needed for creation.String[]getSqlDropStrings(T exportable, Metadata metadata, SqlStringGenerationContext context) Get the commands needed for dropping.
-
Field Details
-
NO_COMMANDS
-
-
Method Details
-
getSqlCreateStrings
Get the commands needed for creation.- Returns:
- The commands needed for creation scripting.
-
getSqlDropStrings
Get the commands needed for dropping.- Returns:
- The commands needed for drop scripting.
-