Guest User

Untitled

a guest
Apr 11th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. package numberone;
  2.  
  3. import java.io.File;
  4.  
  5. import org.apache.commons.configuration.BaseConfiguration;
  6. import org.apache.commons.configuration.Configuration;
  7. import org.apache.tinkerpop.gremlin.structure.Graph;
  8. import org.umlg.sqlg.structure.SqlgGraph;
  9.  
  10. public class two {
  11.  
  12. public static void main(String[] args) {
  13.  
  14.  
  15.  
  16. BaseConfiguration conf = new BaseConfiguration();
  17. conf.setProperty("jdbc.url", "jdbc:postgresql://localhost:5432/test");
  18. conf.setProperty("jdbc.username", "brent");
  19.  
  20. Graph g = SqlgGraph.open(conf);
  21.  
  22. }
Add Comment
Please, Sign In to add comment