Enum Class JdbcDatabaseDialect
java.lang.Object
java.lang.Enum<JdbcDatabaseDialect>
org.springframework.boot.autoconfigure.data.jdbc.JdbcDatabaseDialect
- All Implemented Interfaces:
Serializable
,Comparable<JdbcDatabaseDialect>
,Constable
List of database dialects that can be configured in Boot for use with Spring Data JDBC.
- Since:
- 3.3.0
- Author:
- Jens Schauder
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionProvides an instance ofJdbcDb2Dialect
.Provides an instance ofH2Dialect
.Provides an instance ofHsqlDbDialect
.Provides an instance ofMariaDbDialect
.Provides an instance ofJdbcMySqlDialect
.Provides an instance ofOracleDialect
.Provides an instance ofJdbcPostgresDialect
.Provides an instance ofJdbcSqlServerDialect
. -
Method Summary
Modifier and TypeMethodDescriptionstatic JdbcDatabaseDialect
Returns the enum constant of this class with the specified name.static JdbcDatabaseDialect[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DB2
Provides an instance ofJdbcDb2Dialect
. -
H2
Provides an instance ofH2Dialect
. -
HSQL
Provides an instance ofHsqlDbDialect
. -
MARIA
Provides an instance ofMariaDbDialect
. -
MYSQL
Provides an instance ofJdbcMySqlDialect
. -
ORACLE
Provides an instance ofOracleDialect
. -
POSTGRESQL
Provides an instance ofJdbcPostgresDialect
. -
SQL_SERVER
Provides an instance ofJdbcSqlServerDialect
.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-