You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
544 B

import xyz.wbsite.dbtool.javafx.manger.ProjectManager;
6 years ago
import java.util.HashMap;
public class TestConnect {
public static void main(String[] args) {
HashMap<String, String> map = new HashMap();
map.put("url","jdbc:oracle:thin:@127.0.0.1:1521:orcl");
map.put("username","JCJ");
map.put("password","JCJ");
map.put("driverClassName","oracle.jdbc.driver.OracleDriver");
boolean b = ProjectManager.testConnect(map);
6 years ago
ProjectManager.loadMD(map);
6 years ago
System.out.println(b);
}
}

Powered by TurnKey Linux.