Interface JdbcDialect

All Superinterfaces:
Dialect
All Known Implementing Classes:
JdbcDb2Dialect, JdbcH2Dialect, JdbcHsqlDbDialect, JdbcMariaDbDialect, JdbcMySqlDialect, JdbcOracleDialect, JdbcPostgresDialect, JdbcSqlServerDialect

public interface JdbcDialect extends Dialect
ArrayColumns that offer JDBC specific functionality.
Since:
2.3
Author:
Jens Schauder, Mikhail Polivakha
  • Method Details

    • getName

      default String getName()
      Description copied from interface: Dialect
      Returns the name of the dialect.
      Specified by:
      getName in interface Dialect
      Returns:
      the name of the dialect.
    • getArraySupport

      default JdbcArrayColumns getArraySupport()
      Returns the JDBC-specific array support object that describes how this dialect supports array-typed columns.
      Specified by:
      getArraySupport in interface Dialect
      Returns:
      the JDBC-specific array support object that describes how this dialect supports array-typed columns.
    • getArraySupport

      static JdbcArrayColumns getArraySupport(Dialect dialect)
      Returns the array support for the given Dialect. Defaults to JdbcArrayColumns.Unsupported if the dialect is not an instance of JdbcDialect.
      Parameters:
      dialect - the dialect to check for array support.
      Returns:
      the JdbcArrayColumns instance that describes how this dialect supports array-typed columns.
      Since:
      4.0
    • createSqlType

      default SQLType createSqlType(String name, int vendorTypeNumber)
      Creates a SQLType for the given name and vendor type number.
      Parameters:
      name - type name that represents a SQL data type.
      vendorTypeNumber - vendor-specific type number for the data type.
      Returns:
      a new SQLType for the given name and vendor type number.