6667686970717273747576
DisplayDatabaseConfiguration(); //initialize DB try { if(dbType.equals(DERBY)){ new DerbySetup(dbURL+"-"+user+"-"+password); } if(dbType.equals(MYSQL)){ new MySQLSetup(dbURL+"-"+user+"-"+password); }
4647484950515253545556
*/ protected boolean checkIfDBPresent(String dbType, String dbName, String user, String password){ try { if(dbType.equals(DERBY)){ new DerbySetup(dbName+"-"+user+"-"+password); } if(dbType.equals(DB2)){ new DB2Setup(dbName+"-"+user+"-"+password); }