org.qi4j.entitystore.sql.internal
Class DatabaseSQLServiceStatementsMixin
java.lang.Object
org.qi4j.entitystore.sql.internal.DatabaseSQLServiceStatementsMixin
- All Implemented Interfaces:
- DatabaseSQLService
public abstract class DatabaseSQLServiceStatementsMixin
- extends Object
- implements DatabaseSQLService
Method Summary |
void |
populateGetAllEntitiesStatement(PreparedStatement ps)
|
void |
populateGetEntityStatement(PreparedStatement ps,
EntityReference ref)
|
void |
populateInsertEntityStatement(PreparedStatement ps,
Long entityPK,
EntityReference ref,
String entity,
Long lastModified)
|
void |
populateRemoveEntityStatement(PreparedStatement ps,
Long entityPK,
EntityReference ref)
|
void |
populateUpdateEntityStatement(PreparedStatement ps,
Long entityPK,
Long entityOptimisticLock,
EntityReference ref,
String entity,
Long lastModified)
|
PreparedStatement |
prepareGetAllEntitiesStatement(Connection connection)
|
PreparedStatement |
prepareGetEntityStatement(Connection connection)
|
PreparedStatement |
prepareInsertEntityStatement(Connection connection)
|
PreparedStatement |
prepareRemoveEntityStatement(Connection connection)
|
PreparedStatement |
prepareUpdateEntityStatement(Connection connection)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseSQLServiceStatementsMixin
public DatabaseSQLServiceStatementsMixin()
prepareGetAllEntitiesStatement
public PreparedStatement prepareGetAllEntitiesStatement(Connection connection)
throws SQLException
- Specified by:
prepareGetAllEntitiesStatement
in interface DatabaseSQLService
- Throws:
SQLException
prepareGetEntityStatement
public PreparedStatement prepareGetEntityStatement(Connection connection)
throws SQLException
- Specified by:
prepareGetEntityStatement
in interface DatabaseSQLService
- Throws:
SQLException
prepareInsertEntityStatement
public PreparedStatement prepareInsertEntityStatement(Connection connection)
throws SQLException
- Specified by:
prepareInsertEntityStatement
in interface DatabaseSQLService
- Throws:
SQLException
prepareRemoveEntityStatement
public PreparedStatement prepareRemoveEntityStatement(Connection connection)
throws SQLException
- Specified by:
prepareRemoveEntityStatement
in interface DatabaseSQLService
- Throws:
SQLException
prepareUpdateEntityStatement
public PreparedStatement prepareUpdateEntityStatement(Connection connection)
throws SQLException
- Specified by:
prepareUpdateEntityStatement
in interface DatabaseSQLService
- Throws:
SQLException
populateGetAllEntitiesStatement
public void populateGetAllEntitiesStatement(PreparedStatement ps)
throws SQLException
- Specified by:
populateGetAllEntitiesStatement
in interface DatabaseSQLService
- Throws:
SQLException
populateGetEntityStatement
public void populateGetEntityStatement(PreparedStatement ps,
EntityReference ref)
throws SQLException
- Specified by:
populateGetEntityStatement
in interface DatabaseSQLService
- Throws:
SQLException
populateInsertEntityStatement
public void populateInsertEntityStatement(PreparedStatement ps,
Long entityPK,
EntityReference ref,
String entity,
Long lastModified)
throws SQLException
- Specified by:
populateInsertEntityStatement
in interface DatabaseSQLService
- Throws:
SQLException
populateRemoveEntityStatement
public void populateRemoveEntityStatement(PreparedStatement ps,
Long entityPK,
EntityReference ref)
throws SQLException
- Specified by:
populateRemoveEntityStatement
in interface DatabaseSQLService
- Throws:
SQLException
populateUpdateEntityStatement
public void populateUpdateEntityStatement(PreparedStatement ps,
Long entityPK,
Long entityOptimisticLock,
EntityReference ref,
String entity,
Long lastModified)
throws SQLException
- Specified by:
populateUpdateEntityStatement
in interface DatabaseSQLService
- Throws:
SQLException