Package org.hibernate.dialect
Enum Database
- java.lang.Object
-
- java.lang.Enum<Database>
-
- org.hibernate.dialect.Database
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.Class<? extends Dialect>
latestDialect()
abstract Dialect
resolveDialect(DialectResolutionInfo info)
static Database
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Database[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CACHE
public static final Database CACHE
-
CUBRID
public static final Database CUBRID
-
DB2
public static final Database DB2
-
DERBY
public static final Database DERBY
-
ENTERPRISEDB
public static final Database ENTERPRISEDB
-
FIREBIRD
public static final Database FIREBIRD
-
FRONTBASE
public static final Database FRONTBASE
-
H2
public static final Database H2
-
HANA
public static final Database HANA
-
HSQL
public static final Database HSQL
-
INFORMIX
public static final Database INFORMIX
-
INGRES
public static final Database INGRES
-
INTERBASE
public static final Database INTERBASE
-
MARIADB
public static final Database MARIADB
-
MAXDB
public static final Database MAXDB
-
MCKOI
public static final Database MCKOI
-
MIMERSQL
public static final Database MIMERSQL
-
MYSQL
public static final Database MYSQL
-
ORACLE
public static final Database ORACLE
-
POINTBASE
public static final Database POINTBASE
-
POSTGRESQL
public static final Database POSTGRESQL
-
PROGRESS
public static final Database PROGRESS
-
SQLSERVER
public static final Database SQLSERVER
-
SYBASE
public static final Database SYBASE
-
TERADATA
public static final Database TERADATA
-
TIMESTEN
public static final Database TIMESTEN
-
-
Method Detail
-
values
public static Database[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Database c : Database.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Database valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
latestDialect
public abstract java.lang.Class<? extends Dialect> latestDialect()
-
resolveDialect
public abstract Dialect resolveDialect(DialectResolutionInfo info)
-
-