public enum DialectExt extends Enum<DialectExt>
Enum Constant and Description |
---|
DB2
IBM DB2.
|
H2
H2.
|
MY_SQL
MySQL.
|
ORACLE
Oracle.
|
SQL_SERVER
Microsoft SQL Server.
|
Modifier and Type | Field and Description |
---|---|
protected org.hibernate.dialect.Dialect |
dialect
The underlying dialect.
|
Modifier and Type | Method and Description |
---|---|
static DialectExt |
get(org.hibernate.dialect.Dialect dialect)
Returns the dialect extension for the given dialect.
|
String |
getDropForeignKeyString(String fkName)
Returns the drop clause for dropping the foreign key.
|
String |
getDropPrimaryKeyString(String primaryKey)
Returns the drop clause for dropping the primary key.
|
abstract String |
getSetNotNullString(String colName,
String colType)
Returns the set-not-null clause for the given column.
|
abstract String |
getSetNullString(String colName,
String colType)
Returns the set-null clause for the given column.
|
static DialectExt |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DialectExt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DialectExt H2
public static final DialectExt MY_SQL
public static final DialectExt DB2
public static final DialectExt ORACLE
public static final DialectExt SQL_SERVER
public static DialectExt[] values()
for (DialectExt c : DialectExt.values()) System.out.println(c);
public static DialectExt valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static DialectExt get(org.hibernate.dialect.Dialect dialect)
dialect
- public String getDropPrimaryKeyString(String primaryKey)
primaryKey
- public abstract String getSetNotNullString(String colName, String colType)
colName
- colType
- public abstract String getSetNullString(String colName, String colType)
colName
- colType
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.