org.qi4j.entitystore.sql.internal

## Class DatabaseSQLServiceCoreMixin

- java.lang.Object
- - org.qi4j.entitystore.sql.internal.DatabaseSQLServiceCoreMixin

- All Implemented Interfaces:
    DatabaseSQLService

      public abstract class DatabaseSQLServiceCoreMixin
      extends Object
      implements DatabaseSQLService

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.qi4j.entitystore.sql.internal.DatabaseSQLService

      `DatabaseSQLService.DatabaseSQLServiceComposite, DatabaseSQLService.EntityValueResult`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected DatabaseSQLServiceSpi` | `spi`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DatabaseSQLServiceCoreMixin()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected String` | `getConfiguredSchemaName(String defaultSchemaName)` Configuration is optional at both assembly and runtime.
    `Connection` | `getConnection()`
    `void` | `startDatabase()`
    `void` | `stopDatabase()`

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

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

    - ### Methods inherited from interface org.qi4j.entitystore.sql.internal.DatabaseSQLService

      `getEntityValue, populateGetAllEntitiesStatement, populateGetEntityStatement, populateInsertEntityStatement, populateRemoveEntityStatement, populateUpdateEntityStatement, prepareGetAllEntitiesStatement, prepareGetEntityStatement, prepareInsertEntityStatement, prepareRemoveEntityStatement, prepareUpdateEntityStatement`

- - ### Field Detail

    - #### spi

          @This
          protected DatabaseSQLServiceSpi spi

  - ### Constructor Detail

    - #### DatabaseSQLServiceCoreMixin

          public DatabaseSQLServiceCoreMixin()

  - ### Method Detail

    - #### getConnection

          public Connection getConnection()
                                   throws SQLException

      Specified by:
        `getConnection` in interface `DatabaseSQLService`
      Throws:
        `SQLException`

    - #### startDatabase

          public void startDatabase()
                             throws Exception

      Specified by:
        `startDatabase` in interface `DatabaseSQLService`
      Throws:
        `Exception`

    - #### stopDatabase

          public void stopDatabase()
                            throws Exception

      Specified by:
        `stopDatabase` in interface `DatabaseSQLService`
      Throws:
        `Exception`

    - #### getConfiguredSchemaName

          protected String getConfiguredSchemaName(String defaultSchemaName)

      Configuration is optional at both assembly and runtime.