public enum DbType extends Enum<DbType>
Modifier and Type | Method and Description |
---|---|
static DbType |
getDbType(String url) |
String |
getJdbcUrlPrefix() |
String |
getName() |
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 H2
public static final DbType MYSQL
public static final DbType ORACLE
public static final DbType MSSQL
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 String getName()
public String getJdbcUrlPrefix()
Copyright © 2017. All rights reserved.