Enum Class JdbcDatabaseDialect

java.lang.Object
java.lang.Enum<JdbcDatabaseDialect>
org.springframework.boot.autoconfigure.data.jdbc.JdbcDatabaseDialect
All Implemented Interfaces:
Serializable, Comparable<JdbcDatabaseDialect>, Constable

public enum JdbcDatabaseDialect extends Enum<JdbcDatabaseDialect>
List of database dialects that can be configured in Boot for use with Spring Data JDBC.
Since:
3.3.0
Author:
Jens Schauder
  • Enum Constant Details

    • DB2

      public static final JdbcDatabaseDialect DB2
      Provides an instance of JdbcDb2Dialect.
    • H2

      public static final JdbcDatabaseDialect H2
      Provides an instance of H2Dialect.
    • HSQL

      public static final JdbcDatabaseDialect HSQL
      Provides an instance of HsqlDbDialect.
    • MARIA

      public static final JdbcDatabaseDialect MARIA
      Provides an instance of MariaDbDialect.
    • MYSQL

      public static final JdbcDatabaseDialect MYSQL
      Provides an instance of JdbcMySqlDialect.
    • ORACLE

      public static final JdbcDatabaseDialect ORACLE
      Provides an instance of OracleDialect.
    • POSTGRESQL

      public static final JdbcDatabaseDialect POSTGRESQL
      Provides an instance of JdbcPostgresDialect.
    • SQL_SERVER

      public static final JdbcDatabaseDialect SQL_SERVER
      Provides an instance of JdbcSqlServerDialect.
  • Method Details

    • values

      public static JdbcDatabaseDialect[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JdbcDatabaseDialect valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null