public Void execute(CommandContext commandContext) { DbSqlSession sqlSession = commandContext.getSession(typeof(DbSqlSession)); assertTrue(sqlSession.isTablePresent("SOME_TABLE")); return(null); }
public object execute(CommandContext commandContext) { string databaseSchemaUpdate = Context.ProcessEngineConfiguration.DatabaseSchemaUpdate; if (ProcessEngineConfiguration.DB_SCHEMA_UPDATE_CREATE_DROP.Equals(databaseSchemaUpdate)) { commandContext.getSession(typeof(PersistenceSession)).dbSchemaDrop(); } return(null); }
public object execute(CommandContext commandContext) { commandContext.getSession(typeof(PersistenceSession)).dbSchemaDrop(); return(null); }