Examples of DBSanityCheckCreator


Examples of org.databene.mad4db.proc.DBSanityCheckCreator

  public int checkRestrictions(SchemaChange schemaChange) throws IOException, Exception {
    File checkFile = context.reportFile(MIGRATION_CHECKS_FILE);

    // create DB Sanity check file
    DBSanityCheckCreator checkCreator = new DBSanityCheckCreator();
    int checkCount = checkCreator.createDBSanityChecksFor(schemaChange, checkFile);
    if (checkCount == 0) {
      System.out.println("No restrictions apply in the migration");
      return 0;
    }
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.