Top Fields Constructors Methods
org.hibernate.tool.schema.internal

public Class StandardForeignKeyExporter

extends Object
implements Exporter<ForeignKey>
Class Inheritance
All Implemented Interfaces
org.hibernate.tool.schema.spi.Exporter
Imports
java.util.Iterator, .Locale, org.hibernate.AssertionFailure, org.hibernate.boot.Metadata, org.hibernate.boot.model.relational.SqlStringGenerationContext, org.hibernate.dialect.Dialect, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment, org.hibernate.mapping.Column, .ForeignKey, org.hibernate.tool.schema.spi.Exporter

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private static final String
private final Dialect

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String[]
getSqlCreateStrings(ForeignKey foreignKey, Metadata metadata, SqlStringGenerationContext context)

Overrides default org.hibernate.tool.schema.spi.Exporter.getSqlCreateStrings.

Deprecated as a consequence of ForeignKey being deprecated.
Get the commands needed for creation.
public String[]
getSqlDropStrings(ForeignKey foreignKey, Metadata metadata, SqlStringGenerationContext context)

Overrides default org.hibernate.tool.schema.spi.Exporter.getSqlDropStrings.

Deprecated as a consequence of ForeignKey being deprecated.
Get the commands needed for dropping.
private String
getSqlDropStrings(String tableName, ForeignKey foreignKey, Dialect dialect)

Deprecated as a consequence of ForeignKey being deprecated.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

COLUMN_MISMATCH_MSGback to summary
private static final String COLUMN_MISMATCH_MSG
dialectback to summary
private final Dialect dialect

Constructor Detail

StandardForeignKeyExporterback to summary
public StandardForeignKeyExporter(Dialect dialect)

Method Detail

getSqlCreateStringsback to summary
public String[] getSqlCreateStrings(ForeignKey foreignKey, Metadata metadata, SqlStringGenerationContext context)

Overrides default org.hibernate.tool.schema.spi.Exporter.getSqlCreateStrings.

Doc from org.hibernate.tool.schema.spi.Exporter.getSqlCreateStrings.

Deprecated

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

Get the commands needed for creation.

Returns:String[]

The commands needed for creation scripting.

Annotations
@Override
getSqlDropStringsback to summary
public String[] getSqlDropStrings(ForeignKey foreignKey, Metadata metadata, SqlStringGenerationContext context)

Overrides default org.hibernate.tool.schema.spi.Exporter.getSqlDropStrings.

Doc from org.hibernate.tool.schema.spi.Exporter.getSqlDropStrings.

Deprecated

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

Get the commands needed for dropping.

Returns:String[]

The commands needed for drop scripting.

Annotations
@Override
getSqlDropStringsback to summary
private String getSqlDropStrings(String tableName, ForeignKey foreignKey, Dialect dialect)

Deprecated

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