public enum DbType extends Enum<DbType>
| Enum Constant and Description |
|---|
COCKROACH_DB |
H2 |
MSSQL |
MYSQL |
ORACLE |
POSTGRES |
SYBASE_ASE |
SYBASE_IQ |
| Modifier and Type | Field and Description |
|---|---|
static DbType |
DEFAULT
Default database type to use in all jdbc APIs if a DBtype is not provided.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrTSSqlFn()
Return the SQL for a current time millis since a EPOCH...
|
static String |
getCurrTSSqlFn(DbType dbType)
Return the SQL for a current time millis since a EPOCH...
|
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 ORACLE
public static final DbType H2
public static final DbType SYBASE_ASE
public static final DbType SYBASE_IQ
public static final DbType MSSQL
public static final DbType MYSQL
public static final DbType POSTGRES
public static final DbType COCKROACH_DB
public static final DbType DEFAULT
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 static String getCurrTSSqlFn(DbType dbType) throws ExceptionInInitializerError
dbType - - the database type.ExceptionInInitializerErrorpublic String getCurrTSSqlFn() throws ExceptionInInitializerError
dbType - - the database type.ExceptionInInitializerErrorCopyright © 2018 SPF4J. All rights reserved.