|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DbType>
org.ujorm.orm.DbType
public enum DbType
Supported Database Types
| Enum Constant Summary | |
|---|---|
Automatic
Get the type by a Java key |
|
BIGINT
|
|
BINARY
|
|
BLOB
|
|
BOOLEAN
|
|
CHAR
|
|
CLOB
|
|
DATE
|
|
DECIMAL
|
|
DOUBLE
|
|
FLOAT
|
|
INT
|
|
NULL
|
|
REAL
|
|
SMALLINT
|
|
TIME
|
|
TIMESTAMP
|
|
TINYINT
|
|
UUID
|
|
VARCHAR
|
|
VARCHAR_IGNORECASE
|
|
| Method Summary | |
|---|---|
int |
getSqlType()
Returns an JDBC SQL type |
static DbType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DbType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DbType Automatic
public static final DbType INT
public static final DbType BOOLEAN
public static final DbType TINYINT
public static final DbType SMALLINT
public static final DbType BIGINT
public static final DbType DECIMAL
public static final DbType FLOAT
public static final DbType DOUBLE
public static final DbType REAL
public static final DbType TIME
public static final DbType DATE
public static final DbType TIMESTAMP
public static final DbType BINARY
public static final DbType VARCHAR
public static final DbType VARCHAR_IGNORECASE
public static final DbType CHAR
public static final DbType BLOB
public static final DbType CLOB
public static final DbType NULL
public static final DbType UUID
| Method Detail |
|---|
public static DbType[] values()
for (DbType c : DbType.values()) System.out.println(c);
public static DbType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getSqlType()
Types
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||