public enum DBType extends Enum<DBType>
| 枚举常量和说明 |
|---|
ACCESS
Access db type.
|
DB2
Db 2 db type.
|
H2
H2 db type.
|
MARIADB
Maria db type.
|
MYSQL
Mysql db type.
|
OCEANBASE
Oceanbase db type.
|
ORACLE
Oracle db type.
|
POSTGRESQL
Postgresql db type.
|
SQLITE
Sqlite db type.
|
SQLSERVER
Sqlserver db type.
|
SYBAEE
Sybaee db type.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static DBType |
valueof(String dbType)
Valueof db type.
|
static DBType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static DBType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final DBType MYSQL
public static final DBType ORACLE
public static final DBType DB2
public static final DBType SQLSERVER
public static final DBType SYBAEE
public static final DBType H2
public static final DBType SQLITE
public static final DBType ACCESS
public static final DBType POSTGRESQL
public static final DBType OCEANBASE
public static final DBType MARIADB
public static DBType[] values()
for (DBType c : DBType.values()) System.out.println(c);
public static DBType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2022 Seata. All rights reserved.