Beispiel #1
0
            public Void execute(CommandContext commandContext)
            {
                DbSqlSession sqlSession = commandContext.getSession(typeof(DbSqlSession));

                assertTrue(sqlSession.isTablePresent("SOME_TABLE"));
                return(null);
            }
Beispiel #2
0
        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);
        }
Beispiel #3
0
 public object execute(CommandContext commandContext)
 {
     commandContext.getSession(typeof(PersistenceSession)).dbSchemaDrop();
     return(null);
 }