On 06.03.2020 05:47, Sandeep Ambule wrote:
*In scenario 1 *, I have created a repository using a node store created
using  RDBDocumentNodeStoreBuilder

public DocumentNodeStore createRDBStore(){String
jdbcurl="jdbc:postgresql://127.0.0.1:5432/SP05";String
user="postgres";String pw="manager";DataSource dataSource =
RDBDataSourceFactory.forJdbcUrl(jdbcurl, user, pw);

DocumentNodeStore store = new
RDBDocumentNodeStoreBuilder().newRDBDocumentNodeStoreBuilder()
    .setRDBConnection(dataSource).build();
return store;

}


*In scenario 2: i have created a repository by autowiring *NodeStore
*osgi service.*


*i have given both scenario 1 and scenario 2 code in previous mail.*

Yes. But we are all volunteers here, so it's good to provide all the
information you have in a form that makes the question easier to understand.

*major difference in scenario 1 and scenario 2 is , In scenario 2 i am
using nodestore osgi service.*

So, this is not about RDB, but about using the DocumentNodeStoreService
or not, right? If it works with the latter, it's likely it's setting up
in addition to what you do in scenario 1, no?

Best regards, Julian

Reply via email to