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

public Class SequenceInformationExtractorMariaDBDatabaseImpl

extends SequenceInformationExtractorLegacyImpl
Class Inheritance
Imports
java.sql.ResultSet, .SQLException, java.util.ArrayList, .Collections, .List, org.hibernate.boot.model.naming.Identifier, org.hibernate.boot.model.relational.QualifiedSequenceName, org.hibernate.engine.jdbc.env.spi.IdentifierHelper, org.hibernate.tool.schema.extract.spi.ExtractionContext, .SequenceInformation

Author
Vlad Mihalcea, Magnus Hagström

Field Summary

Modifier and TypeField and Description
public static final SequenceInformationExtractorMariaDBDatabaseImpl
private static final String
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Iterable<SequenceInformation>
protected String
protected String
protected String
Inherited from org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl:
resultSetCatalogNameresultSetIncrementValueresultSetMaxValueresultSetMinValueresultSetSchemaNameresultSetStartValueSizesequenceIncrementColumnsequenceMaxValueColumnsequenceMinValueColumnsequenceNameColumnsequenceStartValueColumn

Field Detail

INSTANCEback to summary
public static final SequenceInformationExtractorMariaDBDatabaseImpl INSTANCE

Hides org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl.INSTANCE.

Singleton access

SQL_SEQUENCE_QUERYback to summary
private static final String SQL_SEQUENCE_QUERY
UNION_ALLback to summary
private static final String UNION_ALL

Constructor Detail

SequenceInformationExtractorMariaDBDatabaseImplback to summary
public SequenceInformationExtractorMariaDBDatabaseImpl()

Method Detail

extractMetadataback to summary
public Iterable<SequenceInformation> extractMetadata(ExtractionContext extractionContext) throws SQLException

Overrides org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl.extractMetadata.

Implements org.hibernate.tool.schema.extract.spi.SequenceInformationExtractor.extractMetadata.

Doc from org.hibernate.tool.schema.extract.spi.SequenceInformationExtractor.extractMetadata.

Get the information about sequences.

Parameters
extractionContext:ExtractionContext

Access to resources needed to perform the extraction

Returns:Iterable<SequenceInformation>

The extracted information about existing sequences.

Annotations
@Override
Exceptions
SQLException:
Don't bother handling SQLExceptions (unless you want to), we will deal with them in the caller.
resultSetSequenceNameback to summary
protected String resultSetSequenceName(ResultSet resultSet) throws SQLException

Overrides org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl.resultSetSequenceName.

sequenceCatalogColumnback to summary
protected String sequenceCatalogColumn()

Overrides org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl.sequenceCatalogColumn.

Annotations
@Override
sequenceSchemaColumnback to summary
protected String sequenceSchemaColumn()

Overrides org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl.sequenceSchemaColumn.

Annotations
@Override