Node/Relationship equals() and hashCode() is based on id so it will return true even for instances from different database instances.
2011/7/4 Norbert Tausch <[email protected]> > Hi, > > are the 'equals' methods of the classes Node and Relationship capable of > handling multiple Neo4j databases? This means, can I compare two nodes > of different databases having the same node id and get a 'false' as > result? Is the database link of a node considered in this case? > > -- > Best regards > > Norbert Tausch > > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [[email protected]] Hacker, Neo Technology www.neotechnology.com _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

