public enum DbType extends Enum<DbType>
| 枚举常量和说明 |
|---|
MYSQL |
ORACLE |
POSTGRE_SQL |
SQL_SERVER |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getValue() |
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.
|
public static final DbType MYSQL
public static final DbType ORACLE
public static final DbType SQL_SERVER
public static final DbType POSTGRE_SQL
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 nameNullPointerException - if the argument is nullpublic String getValue()
Copyright © 2017. All rights reserved.