Hi All,

I am new to Neo4J and able to create the Nodes and Relationship using CQL 
from the Neo4J editor.

>From Java I am able to create the Nodes but unable to create the 
Relationships. 

Below is the CQL for Relationship which I want to create from Java, any 
pointer on how to do this using Java

//Portfolio_Program_Project_Relation
MATCH (portfolio: portfolios),(programme: programmes),(project: projects)
WHERE portfolio.portfolioId = programme.portfolioId AND 
programme.programmeId = project.programmeId  
CREATE  
(portfolio)-[relation1:portfolio_program_project]->(programme),
(programme)-[relation2:portfolio_program_project]->(project);

Cheers,
Abhijit

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to