public enum DB extends Enum<DB>
Enum Constant and Description |
---|
DB2
IBM DB2
|
DERBY |
DM
DM
|
GBASE |
H2
H2Database
|
HSQL |
MYSQL
MySql
|
ORACLE
Oracle
|
OTHER
其他数据库
|
PSQL
Postgresql
|
SQLITE
SQLITE
|
SQLSERVER
MS-SqlServer
|
SYBASE |
Modifier and Type | Method and Description |
---|---|
static DB |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DB[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 DM
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
- 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 nullCopyright © 2017. All rights reserved.