use of net.ravendb.client.documents.DocumentStore in project jnosql-diana-driver by eclipse.
the class RavenDBDocumentCollectionManagerFactory method get.
@Override
public RavenDBDocumentCollectionManager get(String database) {
Objects.requireNonNull(database, "database is required");
DocumentStore documentStore = new DocumentStore(hosts, database);
return new RavenDBDocumentCollectionManager(documentStore);
}
Aggregations