public static enum GeneralJdbcReflectionUtil.DBType extends Enum<GeneralJdbcReflectionUtil.DBType>
| 枚举常量和说明 |
|---|
DB2
DB2
|
H2
H2
|
MYSQL
MYSQL
|
ORACLE
ORACLE
|
OTHER
UNKONWN DB
|
POSTGRE
POSTGRE
|
SQLITE
SQLITE
|
SQLSERVER
SQLSERVER
|
SQLSERVER2005
SQLSERVER2005
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDb() |
static GeneralJdbcReflectionUtil.DBType |
getDBType(String dbType)
获取数据库类型(默认 MySql)
|
static GeneralJdbcReflectionUtil.DBType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static GeneralJdbcReflectionUtil.DBType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final GeneralJdbcReflectionUtil.DBType MYSQL
public static final GeneralJdbcReflectionUtil.DBType ORACLE
public static final GeneralJdbcReflectionUtil.DBType DB2
public static final GeneralJdbcReflectionUtil.DBType H2
public static final GeneralJdbcReflectionUtil.DBType SQLITE
public static final GeneralJdbcReflectionUtil.DBType POSTGRE
public static final GeneralJdbcReflectionUtil.DBType SQLSERVER2005
public static final GeneralJdbcReflectionUtil.DBType SQLSERVER
public static final GeneralJdbcReflectionUtil.DBType OTHER
public static GeneralJdbcReflectionUtil.DBType[] values()
for (GeneralJdbcReflectionUtil.DBType c : GeneralJdbcReflectionUtil.DBType.values()) System.out.println(c);
public static GeneralJdbcReflectionUtil.DBType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static GeneralJdbcReflectionUtil.DBType getDBType(String dbType)
获取数据库类型(默认 MySql)
dbType - 数据库类型字符串public String getDb()
Copyright © 2017. All rights reserved.