Class AbstractDbDialect

java.lang.Object
org.itsallcode.jdbc.dialect.AbstractDbDialect
All Implemented Interfaces:
DbDialect
Direct Known Subclasses:
ExasolDialect, H2Dialect

public abstract class AbstractDbDialect extends Object implements DbDialect
Base class for implementing a DbDialect.
  • Constructor Details

    • AbstractDbDialect

      protected AbstractDbDialect(String jdbcUrlPrefix)
      Create a new instance.
      Parameters:
      jdbcUrlPrefix - the JDBC URL prefix supported by this dialect
  • Method Details

    • supportsUrl

      public boolean supportsUrl(String jdbcUrl)
      Description copied from interface: DbDialect
      Check if this dialect supports the database type with the given JDBC URL.
      Specified by:
      supportsUrl in interface DbDialect
      Parameters:
      jdbcUrl - JDBC URL
      Returns:
      true if this dialect supports the database