Package liquibase.structure.core

Examples of liquibase.structure.core.StoredProcedure


    @Override
    public Sql[] generateSql(DropProcedureStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) {
        return new Sql[] {
                new UnparsedSql("DROP PROCEDURE "+database.escapeObjectName(statement.getCatalogName(), statement.getSchemaName(), statement.getProcedureName(), StoredProcedure.class),
                        new StoredProcedure().setName(statement.getProcedureName()).setSchema(new Schema(statement.getCatalogName(), statement.getSchemaName())))
        };
    }
View Full Code Here


        };
    }

    @Override
    public void checkDiffResult(DiffResult diffResult, DropProcedureChange change) {
        assertNotNull(diffResult.getMissingObject(new StoredProcedure(change.getCatalogName(), change.getSchemaName(), change.getProcedureName())));
    }
View Full Code Here

TOP

Related Classes of liquibase.structure.core.StoredProcedure

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.