public enum DBType extends Enum<DBType>
| 枚举常量和说明 |
|---|
DB2
IBM DB2
|
DERBY |
DM
DM
|
GBASE |
H2
H2Database
|
HSQL |
MYSQL
MySql
|
ORACLE
Oracle
|
OTHER
其他数据库
|
PSQL
Postgresql
|
SQLITE
SQLITE
|
SQLSERVER
MS-SqlServer
|
SYBASE |
| 限定符和类型 | 方法和说明 |
|---|---|
static DBType |
fromName(String productName) |
static DBType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static DBType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final DBType DB2
public static final DBType PSQL
public static final DBType ORACLE
public static final DBType SQLSERVER
public static final DBType MYSQL
public static final DBType H2
public static final DBType SQLITE
public static final DBType HSQL
public static final DBType DERBY
public static final DBType GBASE
public static final DBType SYBASE
public static final DBType DM
public static final DBType OTHER
public static DBType[] values()
for (DBType c : DBType.values()) System.out.println(c);
public static DBType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2018. All rights reserved.