org.qi4j.entitystore.sql.internal
Class DatabaseSQLServiceCoreMixin

java.lang.Object
  extended by org.qi4j.entitystore.sql.internal.DatabaseSQLServiceCoreMixin
All Implemented Interfaces:
DatabaseSQLService

public abstract class DatabaseSQLServiceCoreMixin
extends java.lang.Object
implements DatabaseSQLService


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.qi4j.entitystore.sql.internal.DatabaseSQLService
DatabaseSQLService.DatabaseSQLServiceComposite, DatabaseSQLService.EntityValueResult
 
Field Summary
protected  DatabaseSQLServiceSpi spi
           
 
Constructor Summary
DatabaseSQLServiceCoreMixin()
           
 
Method Summary
protected  java.lang.String getConfiguredSchemaName(java.lang.String defaultSchemaName)
          Configuration is optional at both assembly and runtime.
 java.sql.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 java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Specified by:
getConnection in interface DatabaseSQLService
Throws:
java.sql.SQLException

startDatabase

public void startDatabase()
                   throws java.lang.Exception
Specified by:
startDatabase in interface DatabaseSQLService
Throws:
java.lang.Exception

stopDatabase

public void stopDatabase()
                  throws java.lang.Exception
Specified by:
stopDatabase in interface DatabaseSQLService
Throws:
java.lang.Exception

getConfiguredSchemaName

protected java.lang.String getConfiguredSchemaName(java.lang.String defaultSchemaName)
Configuration is optional at both assembly and runtime.