Yesterday i asked a question but it was unclear, so i created a new one with really better explanations to find the answer i need :).
So, in my Java Application, i need to do a neo4j copy System, here is an example:
A <--- this is a project
/ \ <--- With relationships
B C <--- and subnodes + Labels
/ \ / \ <--- with a depth unknown
.........
I need to do a copy of this in my database, with another id, like this:
A A1
/ \ / \
B C B1 C1
/ \ / \ / \ / \
......... ..........
In neo4j shell, i can simply use dump from A to n to return a cypher statement that i can copy and paste to neo4j web interface to create my copy.
But in fact, i'm in an application with java, so i need to find how to do the same thing, but with java (i'm using VAADIN framework + JDK7 + Neo4j 2.1.4).
I tried to use Neo4j-shell in java but never found how to get the reply from dump command (the cypher sentence) so i'm stuck now, and asking on stack overflow to get help :).
Have a nice day