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 <ntausc...@gmail.com>

> 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
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to