Also take a look at DynamicRelationshipTypes if you want to instantiate relationship types at runtime.
On Thu, Jul 7, 2011 at 9:16 PM, Rick Bullotta <[email protected]>wrote: > Take a look at the RelationshipType interface. If you implement that > (which is really simple - just a name() property), you can have your own > class that can have relationships with any names you want. They do need to > be unique, however. > > ________________________________________ > From: [email protected] [[email protected]] On > Behalf Of noppanit [[email protected]] > Sent: Thursday, July 07, 2011 4:01 PM > To: [email protected] > Subject: [Neo4j] Add relationships dynamically > > Is there anyway I can add relationships on-the-fly or programmatically? > Because sometime I might not know the relationships and I want to add that > to the database. > > Cheers, > > > -- > View this message in context: > http://neo4j-user-list.438527.n3.nabble.com/Add-relationships-dynamically-tp3149437p3149437.html > Sent from the Neo4J User List mailing list archive at Nabble.com. > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

