public class ExtDbSqlSession
extends org.activiti.engine.impl.db.DbSqlSession
DbSqlSession
has an empty overriden performSchemaOperationsProcessEngineBuild
method
because we don't want Activiti engine to manage its database schema.
If default DbSqlSession is used then an exception is thrown when we run an application server with just added BPM
module for the first time. performSchemaOperationsProcessEngineBuild()
queries the database, but the DbUpdater
hasn't created activiti tables by that time.
org.activiti.engine.impl.db.DbSqlSession.BulkCheckedDeleteOperation, org.activiti.engine.impl.db.DbSqlSession.BulkDeleteOperation, org.activiti.engine.impl.db.DbSqlSession.CachedObject, org.activiti.engine.impl.db.DbSqlSession.CheckedDeleteOperation, org.activiti.engine.impl.db.DbSqlSession.DeleteOperation
Constructor and Description |
---|
ExtDbSqlSession(org.activiti.engine.impl.db.DbSqlSessionFactory dbSqlSessionFactory) |
ExtDbSqlSession(org.activiti.engine.impl.db.DbSqlSessionFactory dbSqlSessionFactory,
java.sql.Connection connection,
java.lang.String catalog,
java.lang.String schema) |
Modifier and Type | Method and Description |
---|---|
void |
performSchemaOperationsProcessEngineBuild() |
addDeserializedObject, close, commit, createDeploymentQuery, createExecutionQuery, createGroupQuery, createHistoricActivityInstanceQuery, createHistoricDetailQuery, createHistoricProcessInstanceQuery, createHistoricTaskInstanceQuery, createHistoricVariableInstanceQuery, createJobQuery, createModelQueryImpl, createProcessDefinitionQuery, createProcessInstanceQuery, createTaskQuery, createUserQuery, dbSchemaCheckVersion, dbSchemaCreate, dbSchemaDrop, dbSchemaPrune, dbSchemaUpdate, delete, delete, executeMandatorySchemaResource, executeSchemaResource, findInCache, findInCache, flush, getCustomMapper, getDbSqlSessionFactory, getResourceForDbOperation, getSqlSession, getUpdatedObjects, insert, isEngineTablePresent, isHistoryTablePresent, isIdentityTablePresent, isTablePresent, performSchemaOperationsProcessEngineClose, pruneDeletedEntities, rollback, selectById, selectList, selectList, selectList, selectList, selectList, selectList, selectListWithRawParameter, selectListWithRawParameterWithoutFilter, selectOne, update, update
public ExtDbSqlSession(org.activiti.engine.impl.db.DbSqlSessionFactory dbSqlSessionFactory)
public ExtDbSqlSession(org.activiti.engine.impl.db.DbSqlSessionFactory dbSqlSessionFactory, java.sql.Connection connection, java.lang.String catalog, java.lang.String schema)