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

public Interface SequenceInformationExtractor

Known Direct Implementers
org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl, org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorNoOpImpl
Imports
java.sql.SQLException

Because JDBC (at least up to and including Java 7, JDBC 4) still does not have support for obtaining information about sequences from DatabaseMetaData.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Iterable<SequenceInformation>

Returns:

The extracted information about existing sequences.
extractMetadata
(ExtractionContext
Access to resources needed to perform the extraction
extractionContext
)

Get the information about sequences.

Method Detail

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

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.

Exceptions
SQLException:
Don't bother handling SQLExceptions (unless you want to), we will deal with them in the caller.