public enum DB extends Enum<DB>
枚举常量和说明 |
---|
DB2
IBM DB2
|
DERBY |
GBASE |
H2
H2Database
|
HSQL |
MYSQL
MySql
|
ORACLE
Oracle
|
OTHER
其他数据库
|
PSQL
Postgresql
|
SQLITE
SQLITE
|
SQLSERVER
MS-SqlServer
|
SYBASE |
public static final DB DB2
public static final DB PSQL
public static final DB ORACLE
public static final DB SQLSERVER
public static final DB MYSQL
public static final DB H2
public static final DB SQLITE
public static final DB HSQL
public static final DB DERBY
public static final DB GBASE
public static final DB SYBASE
public static final DB OTHER
public static DB[] values()
for (DB c : DB.values()) System.out.println(c);
public static DB valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2017. All rights reserved.