A straightforward:
Node target = db.createNode();
copyProperties( source, target );
for ( Relationship sourceRel : source.getRelationships() ) {
Relationship targetRel = source.equals( sourceRel.getStartNode() ) ?
target.createRelationshipTo( sourceRel.getEndNode(),
Hello everyone, just watched Michael Hunger on the Spring Data Neo4j
webinar - thanks Michael.
Now to the question, its an old problem - the supernode relationship
navigation:
Assume a *Movie *node has N.000.000 incoming *LIKES *from *User *nodes, but
only a few incoming *ACTS_IN *from *Actor*
2 matches
Mail list logo