Class StandardSequenceExporter
- java.lang.Object
-
- org.hibernate.tool.schema.internal.StandardSequenceExporter
-
-
Field Summary
-
Fields inherited from interface org.hibernate.tool.schema.spi.Exporter
NO_COMMANDS
-
-
Constructor Summary
Constructors Constructor Description StandardSequenceExporter(Dialect dialect)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getFormattedSequenceName(QualifiedSequenceName name, Metadata metadata, SqlStringGenerationContext context)
String[]
getSqlCreateStrings(Sequence sequence, Metadata metadata, SqlStringGenerationContext context)
Get the commands needed for creation.String[]
getSqlDropStrings(Sequence sequence, Metadata metadata, SqlStringGenerationContext context)
Get the commands needed for dropping.
-
-
-
Constructor Detail
-
StandardSequenceExporter
public StandardSequenceExporter(Dialect dialect)
-
-
Method Detail
-
getSqlCreateStrings
public String[] getSqlCreateStrings(Sequence sequence, Metadata metadata, SqlStringGenerationContext context)
Description copied from interface:Exporter
Get the commands needed for creation.- Specified by:
getSqlCreateStrings
in interfaceExporter<Sequence>
- Returns:
- The commands needed for creation scripting.
-
getSqlDropStrings
public String[] getSqlDropStrings(Sequence sequence, Metadata metadata, SqlStringGenerationContext context)
Description copied from interface:Exporter
Get the commands needed for dropping.- Specified by:
getSqlDropStrings
in interfaceExporter<Sequence>
- Returns:
- The commands needed for drop scripting.
-
getFormattedSequenceName
protected String getFormattedSequenceName(QualifiedSequenceName name, Metadata metadata, SqlStringGenerationContext context)
-
-