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

public Class StandardSequenceExporter

extends Object
implements Exporter<Sequence>
Class Inheritance
All Implemented Interfaces
org.hibernate.tool.schema.spi.Exporter
Known Direct Subclasses
org.hibernate.dialect.SQLServer2012Dialect.SqlServerSequenceExporter
Imports
org.hibernate.boot.Metadata, org.hibernate.boot.model.relational.QualifiedSequenceName, .Sequence, .SqlStringGenerationContext, org.hibernate.dialect.Dialect, org.hibernate.tool.schema.spi.Exporter

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final Dialect

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected String
public String[]
getSqlCreateStrings(Sequence sequence, Metadata metadata, SqlStringGenerationContext context)

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

Get the commands needed for creation.
public String[]
getSqlDropStrings(Sequence sequence, Metadata metadata, SqlStringGenerationContext context)

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

Get the commands needed for dropping.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dialectback to summary
private final Dialect dialect

Constructor Detail

StandardSequenceExporterback to summary
public StandardSequenceExporter(Dialect dialect)

Method Detail

getFormattedSequenceNameback to summary
protected String getFormattedSequenceName(QualifiedSequenceName name, Metadata metadata, SqlStringGenerationContext context)
getSqlCreateStringsback to summary
public String[] getSqlCreateStrings(Sequence sequence, Metadata metadata, SqlStringGenerationContext context)

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

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

Get the commands needed for creation.

Returns:String[]

The commands needed for creation scripting.

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

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

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

Get the commands needed for dropping.

Returns:String[]

The commands needed for drop scripting.

Annotations
@Override