This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Migrate { | |
private static String oldUrl; | |
private static Properties oldProps = new Properties(); | |
private static String newUrl; | |
private static Properties newProps = new Properties(); | |
public static void main(String[] args) { | |
oldUrl = "jdbc:postgresql://hostname/dbname"; | |
oldProps.setProperty("user", "xxxx"); |