Package org.springframework.jdbc.versioned

Examples of org.springframework.jdbc.versioned.GenericDatabaseUpgrader


  protected void addInstallChanges(DatabaseChangeSet changeSet) {}

  // internal helpers
 
  private org.springframework.jdbc.versioned.DatabaseUpgrader createUpgrader(DataSource dataSource) {
    GenericDatabaseUpgrader upgrader = new GenericDatabaseUpgrader(dataSource);
    if (upgrader.getCurrentDatabaseVersion().equals(DatabaseVersion.zero())) {
      addInstallChangeSet(upgrader);     
    } else {
      addUpgradeChangeSets(upgrader);
    }
    return upgrader;
View Full Code Here

TOP

Related Classes of org.springframework.jdbc.versioned.GenericDatabaseUpgrader

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.