Results 1 to 2 of 2

Thread: Multiple neo4j server instances - multiple mapping?

Hybrid View

  1. #1

    Default 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. #2
    Join Date
    Jan 2011
    Location
    Dresden, Germany
    Posts
    525

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •