public enum DBType extends Enum<DBType>
MybatisPlus 数据库类型
| 枚举常量和说明 |
|---|
DB2
DB2
|
H2
H2
|
HSQL
HSQL
|
MYSQL
MYSQL
|
ORACLE
ORACLE
|
OTHER
UNKONWN DB
|
POSTGRE
POSTGRE
|
SQLITE
SQLITE
|
SQLSERVER
SQLSERVER
|
SQLSERVER2005
SQLSERVER2005
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDb() |
static DBType |
getDBType(String dbType)
获取数据库类型(默认 MySql)
|
String |
getDesc() |
String |
getQuote() |
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 H2
public static final DBType HSQL
public static final DBType SQLITE
public static final DBType POSTGRE
public static final DBType SQLSERVER2005
public static final DBType SQLSERVER
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 - 如果参数为空值public String getDb()
public String getQuote()
public String getDesc()
Copyright © 2017. All rights reserved.