Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BaseConfiguration conf = new BaseConfiguration();
- conf.setProperty("jdbc.url", "jdbc:postgresql://localhost:5432/yourdb");
- conf.setProperty("jdbc.username", "postgres");
- conf.setProperty("jdbc.password", "password");
- System.out.println(conf.getString("jdbc.url"));
- System.out.println(conf.getString("jdbc.username"));
- System.out.println(conf.getString("jdbc.password"));
- Graph g = SqlgGraph.open(conf); /// this line gives an error because Configuration rather
- /// than BasicConfiguration is expected
Add Comment
Please, Sign In to add comment