org.apache.ode.il.dbutil

## Class H2EmbeddedDB

- java.lang.Object
- - org.apache.ode.il.dbutil.Database
  - - org.apache.ode.il.dbutil.InternalDB
    - - org.apache.ode.il.dbutil.H2EmbeddedDB

-     public class H2EmbeddedDB
      extends InternalDB

- - ### Field Summary

    - ### Fields inherited from class org.apache.ode.il.dbutil.InternalDB

      `_connectionManager, CONNECTION_MAX_IDLE_MINUTES, CONNECTION_MAX_WAIT_MILLIS`

    - ### Fields inherited from class org.apache.ode.il.dbutil.Database

      `__log, __logSql, __msgs, _datasource, _odeConfig, _started, _txm, _workRoot`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `H2EmbeddedDB(OdeConfigProperties props)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `initDataSource()` Initialize embedded (DERBY) database.
    `void` | `shutdownDB()`

    - ### Methods inherited from class org.apache.ode.il.dbutil.InternalDB

      `initInternalDb, shutdown, start`

    - ### Methods inherited from class org.apache.ode.il.dbutil.Database

      `create, createDaoCF, getDataSource, setTransactionManager, setWorkRoot`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### H2EmbeddedDB

          public H2EmbeddedDB(OdeConfigProperties props)

  - ### Method Detail

    - #### initDataSource

          protected void initDataSource()
                                 throws DatabaseConfigException

      Initialize embedded (DERBY) database.
      Overrides:
        `initDataSource` in class `InternalDB`
      Throws:
        `DatabaseConfigException`

    - #### shutdownDB

          public void shutdownDB()

      Overrides:
        `shutdownDB` in class `InternalDB`