|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<CompatibilityMode>
org.apithefire.sql.h2.CompatibilityMode
public enum CompatibilityMode
A compatibility mode to other DBMS.
| Enum Constant Summary | |
|---|---|
HSQLDB
When converting the scale of decimal data, the number is only converted if the new scale is smaller then current scale. |
|
MYSQL
When inserting data, if a column is defined to be NOT NULL and NULL is inserted, then a 0 (or empty string, or the current timestamp for timestamp columns) value is used. |
|
POSTGRESQL
Concatenation of a NULL with another value results in NULL. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getParameterValue()
|
static CompatibilityMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CompatibilityMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CompatibilityMode POSTGRESQL
public static final CompatibilityMode MYSQL
public static final CompatibilityMode HSQLDB
| Method Detail |
|---|
public static final CompatibilityMode[] values()
for(CompatibilityMode c : CompatibilityMode.values())
System.out.println(c);
public static CompatibilityMode 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 nameprotected java.lang.String getParameterValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||