public enum DBType extends Enum<DBType>
| Enum Constant and Description |
|---|
Access |
DB2 |
DM |
GBase |
H2 |
KingBase |
MySql |
Oracle |
Oscar |
PostgreSql |
SqlServer |
Unknown |
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
| Modifier and Type | Method and Description |
|---|---|
static Set<DBType> |
allValues() |
static String |
getDbDriver(DBType dt) |
static String |
getDBTypeName(DBType type) |
static String |
getDBValidationQuery(DBType type) |
boolean |
isMadeInChina() |
boolean |
isRmdb() |
static DBType |
mapDBType(Connection conn) |
static DBType |
mapDBType(String connurl) |
static DBType |
mapDBType(String connurl,
DBType defaultType) |
static DBType |
mapDialectToDBType(String dialectName) |
static void |
setDbDriver(DBType dt,
String driverClassName) |
String |
toString() |
static DBType |
valueOf(int ordinal) |
static DBType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DBType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DBType Unknown
public static final DBType SqlServer
public static final DBType Oracle
public static final DBType DB2
public static final DBType Access
public static final DBType MySql
public static final DBType H2
public static final DBType PostgreSql
public static final DBType DM
public static final DBType KingBase
public static final DBType GBase
public static final DBType Oscar
public static DBType[] values()
for (DBType c : DBType.values()) System.out.println(c);
public static DBType 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 nullpublic boolean isRmdb()
public boolean isMadeInChina()
public static DBType valueOf(int ordinal)
public static DBType mapDBType(Connection conn)
Copyright © 2024 江苏南大先腾信息产业股份有限公司. All rights reserved.