Enum Class DataJdbcDatabaseDialect
java.lang.Object
java.lang.Enum<DataJdbcDatabaseDialect>
org.springframework.boot.data.jdbc.autoconfigure.DataJdbcDatabaseDialect
- All Implemented Interfaces:
Serializable
,Comparable<DataJdbcDatabaseDialect>
,Constable
List of database dialects that can be configured in Boot for use with Spring Data JDBC.
- Since:
- 4.0.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 ConstantsEnum ConstantDescriptionProvides an instance ofJdbcDb2Dialect
.Provides an instance ofJdbcH2Dialect
.Provides an instance ofJdbcHsqlDbDialect
.Resolves an instance ofJdbcMariaDbDialect
by querying the database configuration.Resolves an instance ofJdbcMySqlDialect
by querying the database configuration.Provides an instance ofJdbcOracleDialect
.Provides an instance ofJdbcPostgresDialect
.Provides an instance ofJdbcSqlServerDialect
. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataJdbcDatabaseDialect
Returns the enum constant of this class with the specified name.static DataJdbcDatabaseDialect[]
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 ofJdbcH2Dialect
. -
HSQL
Provides an instance ofJdbcHsqlDbDialect
. -
MARIA
Resolves an instance ofJdbcMariaDbDialect
by querying the database configuration. -
MYSQL
Resolves an instance ofJdbcMySqlDialect
by querying the database configuration. -
ORACLE
Provides an instance ofJdbcOracleDialect
. -
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
-