public enum DialectExt extends java.lang.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.
|
java.lang.String |
getDropForeignKeyString(java.lang.String fkName)
Returns the drop clause for dropping the foreign key.
|
java.lang.String |
getDropPrimaryKeyString(java.lang.String primaryKey)
Returns the drop clause for dropping the primary key.
|
abstract java.lang.String |
getSetNotNullString(java.lang.String colName,
java.lang.String colType)
Returns the set-not-null clause for the given column.
|
abstract java.lang.String |
getSetNullString(java.lang.String colName,
java.lang.String colType)
Returns the set-null clause for the given column.
|
static DialectExt |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static DialectExt get(org.hibernate.dialect.Dialect dialect)
dialect
- public java.lang.String getDropPrimaryKeyString(java.lang.String primaryKey)
primaryKey
- public abstract java.lang.String getSetNotNullString(java.lang.String colName, java.lang.String colType)
colName
- colType
- public abstract java.lang.String getSetNullString(java.lang.String colName, java.lang.String colType)
colName
- colType
- public java.lang.String getDropForeignKeyString(java.lang.String fkName)
fkName
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.