Quantcast
Channel: Spring Community Forums - Data
Viewing all articles
Browse latest Browse all 297

spring data neo4j - how do I use more than one neo4j database service in my app?

$
0
0
In my spring data neo4j application I have 2 neo4j databases. How do I relate a repository of a specific database services?

for example I have..

MyRepository1 extends GraphRepository
MyRepository2 extends GraphRepository

I want MyRepository1 to be associated with a neo4j database at http://someserver:7474
I want MyRepository2 to be associated with a neo4j database at http://someotherserver:7474

Is this possible? If so, exactly how?

Regards
Ron

Viewing all articles
Browse latest Browse all 297

Trending Articles