Interface SequenceInformationExtractor
Extract information about existing database sequences when JDBC metadata does not expose it.
Implement this contract directly only for a multi-stage or otherwise
nonstandard discovery algorithm. For a single lookup query, configure a
standard extractor with SequenceInformationExtractors.builder(String).
Supply the resulting strategy from
Dialect.getSequenceInformationExtractor().
- Since:
- 8.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionextractMetadata(ExtractionContext extractionContext) Extract sequence information, preserving discovery-query row order.
-
Method Details
-
extractMetadata
Iterable<SequenceInformation> extractMetadata(ExtractionContext extractionContext) throws SQLException Extract sequence information, preserving discovery-query row order.
Propagate an
SQLExceptionunchanged unless the implementation can handle it without changing the extraction contract.- Throws:
SQLException
-