public class ProfilingDbSqlSession
extends org.activiti.engine.impl.db.DbSqlSession
Modifier and Type | Field and Description |
---|---|
protected CommandExecutionResult |
commandExecutionResult |
ACTIVITI_VERSIONS, bulkDeleteOperations, CLEAN_VERSION_REGEX, connectionMetadataDefaultCatalog, connectionMetadataDefaultSchema, dbSqlSessionFactory, deletedObjects, entityCache, insertedObjects, JDBC_METADATA_TABLE_TYPES, LAST_V5_VERSION, sqlSession, updatedObjects
Constructor and Description |
---|
ProfilingDbSqlSession(org.activiti.engine.impl.db.DbSqlSessionFactory dbSqlSessionFactory,
org.activiti.engine.impl.persistence.cache.EntityCache entityCache) |
ProfilingDbSqlSession(org.activiti.engine.impl.db.DbSqlSessionFactory dbSqlSessionFactory,
org.activiti.engine.impl.persistence.cache.EntityCache entityCache,
Connection connection,
String catalog,
String schema) |
Modifier and Type | Method and Description |
---|---|
void |
commit() |
void |
flush() |
protected void |
flushBulkDeletes(Class<? extends org.activiti.engine.impl.persistence.entity.Entity> entityClass) |
protected void |
flushBulkInsert(Collection<org.activiti.engine.impl.persistence.entity.Entity> entities,
Class<? extends org.activiti.engine.impl.persistence.entity.Entity> clazz) |
protected void |
flushDeleteEntities(Class<? extends org.activiti.engine.impl.persistence.entity.Entity> entityClass,
Collection<org.activiti.engine.impl.persistence.entity.Entity> entitiesToDelete) |
protected void |
flushRegularInsert(org.activiti.engine.impl.persistence.entity.Entity entity,
Class<? extends org.activiti.engine.impl.persistence.entity.Entity> clazz) |
protected void |
flushUpdates() |
CommandExecutionResult |
getCurrentCommandExecution() |
<T extends org.activiti.engine.impl.persistence.entity.Entity> |
selectById(Class<T> entityClass,
String id,
boolean useCache) |
List |
selectListWithRawParameter(String statement,
Object parameter,
int firstResult,
int maxResults,
boolean useCache) |
List |
selectListWithRawParameterWithoutFilter(String statement,
Object parameter,
int firstResult,
int maxResults) |
Object |
selectOne(String statement,
Object parameter) |
addMissingComponent, addSqlStatementPiece, cacheLoadOrStore, cacheLoadOrStore, close, collectChildExecutionsForInsertion, createDeploymentQuery, createExecutionQuery, createGroupQuery, createHistoricActivityInstanceQuery, createHistoricDetailQuery, createHistoricProcessInstanceQuery, createHistoricTaskInstanceQuery, createHistoricVariableInstanceQuery, createJobQuery, createModelQueryImpl, createProcessDefinitionQuery, createProcessInstanceQuery, createTaskQuery, createUserQuery, dbSchemaCheckVersion, dbSchemaCreate, dbSchemaCreateEngine, dbSchemaCreateHistory, dbSchemaCreateIdentity, dbSchemaDrop, dbSchemaPrune, dbSchemaUpdate, dbSchemaUpgrade, debugFlush, delete, delete, determineUpdatedObjects, executeMandatorySchemaResource, executeSchemaResource, findMatchingVersionIndex, flushDeletes, flushInsertEntities, flushInserts, getCleanVersion, getCustomMapper, getDbSqlSessionFactory, getDbVersion, getResourceForDbOperation, getSqlSession, incrementRevision, insert, isEngineTablePresent, isEntityInserted, isEntityToBeDeleted, isHistoryTablePresent, isIdentityTablePresent, isMissingTablesException, isMysql, isOracle, isTablePresent, isUpgradeNeeded, orderExecutionEntities, performSchemaOperationsProcessEngineBuild, performSchemaOperationsProcessEngineClose, prependDatabaseTablePrefix, readNextTrimmedLine, removeUnnecessaryOperations, rollback, selectById, selectList, selectList, selectList, selectList, selectList, selectList, selectList, selectList, selectList, selectList, selectList, selectListWithRawParameter, update, update, updateDdlForMySqlVersionLowerThan56
protected CommandExecutionResult commandExecutionResult
public ProfilingDbSqlSession(org.activiti.engine.impl.db.DbSqlSessionFactory dbSqlSessionFactory, org.activiti.engine.impl.persistence.cache.EntityCache entityCache)
public ProfilingDbSqlSession(org.activiti.engine.impl.db.DbSqlSessionFactory dbSqlSessionFactory, org.activiti.engine.impl.persistence.cache.EntityCache entityCache, Connection connection, String catalog, String schema)
public void flush()
flush
in interface org.activiti.engine.impl.interceptor.Session
flush
in class org.activiti.engine.impl.db.DbSqlSession
public void commit()
commit
in class org.activiti.engine.impl.db.DbSqlSession
public Object selectOne(String statement, Object parameter)
selectOne
in class org.activiti.engine.impl.db.DbSqlSession
public <T extends org.activiti.engine.impl.persistence.entity.Entity> T selectById(Class<T> entityClass, String id, boolean useCache)
selectById
in class org.activiti.engine.impl.db.DbSqlSession
public List selectListWithRawParameter(String statement, Object parameter, int firstResult, int maxResults, boolean useCache)
selectListWithRawParameter
in class org.activiti.engine.impl.db.DbSqlSession
public List selectListWithRawParameterWithoutFilter(String statement, Object parameter, int firstResult, int maxResults)
selectListWithRawParameterWithoutFilter
in class org.activiti.engine.impl.db.DbSqlSession
protected void flushRegularInsert(org.activiti.engine.impl.persistence.entity.Entity entity, Class<? extends org.activiti.engine.impl.persistence.entity.Entity> clazz)
flushRegularInsert
in class org.activiti.engine.impl.db.DbSqlSession
protected void flushBulkInsert(Collection<org.activiti.engine.impl.persistence.entity.Entity> entities, Class<? extends org.activiti.engine.impl.persistence.entity.Entity> clazz)
flushBulkInsert
in class org.activiti.engine.impl.db.DbSqlSession
protected void flushUpdates()
flushUpdates
in class org.activiti.engine.impl.db.DbSqlSession
protected void flushDeleteEntities(Class<? extends org.activiti.engine.impl.persistence.entity.Entity> entityClass, Collection<org.activiti.engine.impl.persistence.entity.Entity> entitiesToDelete)
flushDeleteEntities
in class org.activiti.engine.impl.db.DbSqlSession
protected void flushBulkDeletes(Class<? extends org.activiti.engine.impl.persistence.entity.Entity> entityClass)
flushBulkDeletes
in class org.activiti.engine.impl.db.DbSqlSession
public CommandExecutionResult getCurrentCommandExecution()
Copyright © 2017 Alfresco. All rights reserved.