nxt.db

## Class BasicDb

- java.lang.Object
- - nxt.db.BasicDb

- Direct Known Subclasses:
    TransactionalDb

      public class BasicDb
      extends java.lang.Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `BasicDb.DbProperties`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BasicDb(BasicDb.DbProperties dbProperties)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `analyzeTables()`
    `java.sql.Connection` | `getConnection(java.lang.String schema)`
    `protected java.sql.Connection` | `getPooledConnection()`
    `java.lang.String` | `getUrl()`
    `void` | `init(java.util.List<DbVersion> dbVersions)`
    `void` | `shutdown()`

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

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

- - ### Constructor Detail

    - #### BasicDb

          public BasicDb(BasicDb.DbProperties dbProperties)

  - ### Method Detail

    - #### init

          public final void init(java.util.List<DbVersion> dbVersions)

    - #### shutdown

          public final void shutdown()

    - #### analyzeTables

          public final void analyzeTables()

    - #### getConnection

          public java.sql.Connection getConnection(java.lang.String schema)
                                            throws java.sql.SQLException

      Throws:
        `java.sql.SQLException`

    - #### getPooledConnection

          protected java.sql.Connection getPooledConnection()
                                                     throws java.sql.SQLException

      Throws:
        `java.sql.SQLException`

    - #### getUrl

          public final java.lang.String getUrl()