Top Description Fields Methods
org.hibernate.tool.schema.spi

public Interface Exporter<T extends org.hibernate.boot.model.relational.Exportable>

Known Direct Implementers
org.hibernate.dialect.SpannerDialect.EmptyExporter, org.hibernate.dialect.SpannerDialectTableExporter, org.hibernate.tool.schema.internal.StandardAuxiliaryDatabaseObjectExporter, org.hibernate.tool.schema.internal.StandardForeignKeyExporter, org.hibernate.tool.schema.internal.StandardIndexExporter, org.hibernate.tool.schema.internal.StandardSequenceExporter, org.hibernate.tool.schema.internal.StandardTableExporter, org.hibernate.tool.schema.internal.StandardUniqueKeyExporter, org.hibernate.tool.schema.internal.StandardUserDefinedTypeExporter
Imports
org.hibernate.boot.Metadata, org.hibernate.boot.model.relational.Exportable, .SqlStringGenerationContext, org.hibernate.internal.util.collections.ArrayHelper

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.

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final String[]

Method Summary

Modifier and TypeMethod and Description
public String[]

Returns:

The commands needed for creation scripting.
getSqlCreateStrings
(T exportable, Metadata metadata, SqlStringGenerationContext context)

Deprecated as a consequence of Metadata being deprecated.
Get the commands needed for creation.
public String[]

Returns:

The commands needed for drop scripting.
getSqlDropStrings
(T exportable, Metadata metadata, SqlStringGenerationContext context)

Deprecated as a consequence of Metadata being deprecated.
Get the commands needed for dropping.

Field Detail

NO_COMMANDSback to summary
public static final String[] NO_COMMANDS

Method Detail

getSqlCreateStringsback to summary
public String[] getSqlCreateStrings(T exportable, Metadata metadata, SqlStringGenerationContext context)

Deprecated

as a consequence of Metadata being deprecated. See corresponding docs for further information.

Get the commands needed for creation.

Returns:String[]

The commands needed for creation scripting.

getSqlDropStringsback to summary
public String[] getSqlDropStrings(T exportable, Metadata metadata, SqlStringGenerationContext context)

Deprecated

as a consequence of Metadata being deprecated. See corresponding docs for further information.

Get the commands needed for dropping.

Returns:String[]

The commands needed for drop scripting.