Package liquibase.statement.core

Examples of liquibase.statement.core.CreateViewStatement


            fullDefinition = this.fullDefinition;
        }

    if (!supportsReplaceIfExistsOption(database) && replaceIfExists) {
      statements.add(new DropViewStatement(getCatalogName(), getSchemaName(), getViewName()));
      statements.add(new CreateViewStatement(getCatalogName(), getSchemaName(), getViewName(), getSelectQuery(), false)
                    .setFullDefinition(fullDefinition));
    } else {
      statements.add(new CreateViewStatement(getCatalogName(), getSchemaName(), getViewName(), getSelectQuery(), replaceIfExists)
                    .setFullDefinition(fullDefinition));
    }

    return statements.toArray(new SqlStatement[statements.size()]);
  }
View Full Code Here

TOP

Related Classes of liquibase.statement.core.CreateViewStatement

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.