| 枚举常量和说明 |
|---|
MYSQL |
ORACLE |
OTHER |
POSTGRE_SQL |
SQL_SERVER |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getValue() |
static DbType |
valueOf(java.lang.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.
|
public static final DbType MYSQL
public static final DbType ORACLE
public static final DbType SQL_SERVER
public static final DbType POSTGRE_SQL
public static final DbType OTHER
public static DbType[] values()
for (DbType c : DbType.values()) System.out.println(c);
public static DbType 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 java.lang.String getValue()