public class HsqldbRepoUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CONN_URL_PREFIX |
protected static java.lang.String |
DB_NAME |
protected static java.lang.String |
DB_PREVIOUS_NAME |
protected static java.lang.String |
DRIVER_CLASSNAME |
protected static java.lang.String |
PASSWORD |
protected static java.lang.String |
SQL_CREATE_TABLE |
protected static java.lang.String |
SQL_INSERT |
protected static java.lang.String |
SQL_REMOVE |
protected static java.lang.String |
SQL_SELECT_ID |
protected static java.lang.String |
SQL_SELECT_ID_AND_VALUE |
protected static java.lang.String |
SQL_SELECT_ID_BY_EXPIRETIME |
protected static java.lang.String |
SQL_SELECT_TABLENAMES |
protected static java.lang.String |
SQL_SELECT_VALUE |
protected static java.lang.String |
SQL_UPDATE |
protected static java.lang.String |
USERNAME |
Constructor and Description |
---|
HsqldbRepoUtils() |
Modifier and Type | Method and Description |
---|---|
static java.sql.Connection |
getConnection(int port, java.lang.String dbName) |
protected static java.lang.String |
getURL(java.lang.String host, int port, java.lang.String dbName) |
protected static final java.lang.String DB_NAME
protected static final java.lang.String DB_PREVIOUS_NAME
protected static final java.lang.String SQL_CREATE_TABLE
protected static final java.lang.String SQL_INSERT
protected static final java.lang.String SQL_UPDATE
protected static final java.lang.String SQL_REMOVE
protected static final java.lang.String SQL_SELECT_VALUE
protected static final java.lang.String SQL_SELECT_ID
protected static final java.lang.String SQL_SELECT_ID_AND_VALUE
protected static final java.lang.String SQL_SELECT_ID_BY_EXPIRETIME
protected static final java.lang.String SQL_SELECT_TABLENAMES
protected static final java.lang.String DRIVER_CLASSNAME
protected static final java.lang.String CONN_URL_PREFIX
protected static final java.lang.String USERNAME
protected static final java.lang.String PASSWORD