public void test(){
try{
Connection con = DriverManager.getConnection("jdbc:neo4j://192.168.1.101:7474/", "neo4j", "123456");
Statement statement con.createStatement();
ResultSet resultSet = statement.executeQuery("MATCH p=()-->() RETURN p");
while(resultSet.next()){
System.out.println(resultSet.getString("p"));
// JSONArray parse = JSONArray.parseArray(resultSet.getString(1));
// System.out.println(parse.get(0));
}
} catch(Exception e){
e.printStackTrace();
}
}