Interface SequenceInformationExtractor

  • public interface SequenceInformationExtractor
    Because JDBC (at least up to and including Java 7, JDBC 4) still does not have support for obtaining information about sequences from DatabaseMetaData.
    • Method Detail

      • extractMetadata

        Iterable<SequenceInformation> extractMetadata​(ExtractionContext extractionContext)
                                               throws SQLException
        Get the information about sequences.
        extractionContext - Access to resources needed to perform the extraction
        The extracted information about existing sequences.
        SQLException - Don't bother handling SQLExceptions (unless you want to), we will deal with them in the caller.