I am on Neo4j Desktop and I have a project where I have 2 Databases under one Instance(DBMS).
So is there any property/configuration that tells SDN the right Database it has to query into?
In my Spring boot app, when I try to query the database with SDN, it queries the wrong Database and returns "Provided Label not present in Database" error.
I am following the same steps as mentioned in this article, but the example uses two different Neo4j DB hosts, wherein I have to use two different Neo4j Databases in same Host.
This is a POC project inside VDI machine where SOF is restricted, Hence unable to share implementation here - but hope the question is quite generic.
As documented, you can statically specify the database name using the spring config property
spring.data.neo4j.database, or you can dynamically specify the database name per transaction via a DatabaseSelectionProvider bean.