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 Details

    • extractMetadata

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