public class BasicDb
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BasicDb.DbProperties |
Constructor and Description |
---|
BasicDb(BasicDb.DbProperties dbProperties) |
Modifier and Type | Method and Description |
---|---|
void |
analyzeTables() |
java.sql.Connection |
getConnection() |
protected java.sql.Connection |
getPooledConnection() |
java.lang.String |
getUrl() |
void |
init(DbVersion dbVersion) |
protected static void |
logThreshold(java.lang.String msg) |
void |
shutdown() |
public BasicDb(BasicDb.DbProperties dbProperties)
public void init(DbVersion dbVersion)
public void shutdown()
public void analyzeTables()
public java.sql.Connection getConnection() throws java.sql.SQLException
java.sql.SQLException
protected java.sql.Connection getPooledConnection() throws java.sql.SQLException
java.sql.SQLException
protected static void logThreshold(java.lang.String msg)
public java.lang.String getUrl()