Announcement Announcement Module
Collapse
No announcement yet.
Multiple neo4j server instances - multiple mapping? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiple neo4j server instances - multiple mapping?

    Having 2 running instances of Neo4j server (one on port 7474 and one on 7575), how to
    handle entity mapping over the two different instances?
    There is no documentation around, regarding how to map @NodeEntity and @RelationshipEntity selectively to one graph-db or the other one in the same spring project. It seems just one mapping is possible.
    Is mapping to several instances in the same project still not supported?

    Thank you

  • #2
    Good question,

    the infrastructure set up in an application-context always refers to one database. So if you set up two application-contexts as your initial injection points it should work.

    Comment

    Working...
    X