Package com.dbdeploy.exceptions

Examples of com.dbdeploy.exceptions.DuplicateChangeScriptException


  private void checkForDuplicateIds(List<ChangeScript> scripts) throws DuplicateChangeScriptException {
    long lastId = -1;
   
    for (ChangeScript script : scripts) {
      if (script.getId() == lastId) {
        throw new DuplicateChangeScriptException("There is more than one change script with number " + lastId);
      }
     
      lastId = script.getId();
    }
   
View Full Code Here

TOP

Related Classes of com.dbdeploy.exceptions.DuplicateChangeScriptException

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.