| Enum Constant and Description |
|---|
ACCESS |
AS400 |
DERBY |
HSQLDB |
MARIADB |
MYSQL
Changed to use mariadb.
|
ODBC |
ORACLE |
OTHER |
PARTNERHUB |
PROGRESS |
SQL_SERVER |
SQLITE |
| Modifier and Type | Method and Description |
|---|---|
void |
afterConnection(SqlConnection connection) |
void |
beforeDisconnection(SqlConnection connection) |
static SqlType |
forName(java.lang.String name)
Returns the instance of SqlType matching the given name.
|
SqlDialect |
getDialect()
SqlDialect for this type.
|
java.lang.String |
getDriver()
Full class name of the JDBC driver for this database type.
|
java.lang.String |
getName()
Name of the database type.
|
static SqlType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SqlType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlType ACCESS
public static final SqlType AS400
public static final SqlType DERBY
public static final SqlType HSQLDB
public static final SqlType MYSQL
public static final SqlType MARIADB
public static final SqlType ODBC
public static final SqlType ORACLE
public static final SqlType SQL_SERVER
public static final SqlType PROGRESS
public static final SqlType SQLITE
public static final SqlType PARTNERHUB
public static final SqlType OTHER
public static SqlType[] values()
for (SqlType c : SqlType.values()) System.out.println(c);
public static SqlType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static SqlType forName(java.lang.String name)
public java.lang.String getName()
SqlDatabase.public java.lang.String getDriver()
public SqlDialect getDialect()
public void afterConnection(SqlConnection connection) throws java.sql.SQLException
java.sql.SQLExceptionpublic void beforeDisconnection(SqlConnection connection) throws java.sql.SQLException
java.sql.SQLException