public class InternalDB extends Database
| Modifier and Type | Field and Description |
|---|---|
protected DatabaseConnectionManager |
_connectionManager |
protected static int |
CONNECTION_MAX_IDLE_MINUTES |
protected static int |
CONNECTION_MAX_WAIT_MILLIS |
__log, __logSql, __msgs, _datasource, _odeConfig, _started, _txm, _workRoot| Constructor and Description |
|---|
InternalDB(OdeConfigProperties props) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initDataSource() |
protected void |
initInternalDb(java.lang.String url,
java.lang.String driverClass,
java.lang.String username,
java.lang.String password) |
void |
shutdown() |
protected void |
shutdownDB() |
void |
start() |
create, createDaoCF, getDataSource, setTransactionManager, setWorkRootprotected static final int CONNECTION_MAX_WAIT_MILLIS
protected static final int CONNECTION_MAX_IDLE_MINUTES
protected DatabaseConnectionManager _connectionManager
public InternalDB(OdeConfigProperties props)
public void start()
throws DatabaseConfigException
start in class DatabaseDatabaseConfigExceptionprotected void shutdownDB()
protected void initDataSource()
throws DatabaseConfigException
initDataSource in class DatabaseDatabaseConfigExceptionprotected void initInternalDb(java.lang.String url,
java.lang.String driverClass,
java.lang.String username,
java.lang.String password)
throws DatabaseConfigException
DatabaseConfigException