Hi, Oak does not use any MongoDB 3.x features at the moment, which means there was not need to upgrade the driver to 3.x so far. The driver version used in trunk and on the 1.2 branch in Oak is 2.13.x. This driver version is compatible with MongoDB 3.x and you can use Oak in this combination.
As for using Oak with a 3.x java driver, it would be best to create a JIRA issue and attach a patch, which replaces the deprecated calls. Regards Marcel On 26/10/15 14:58, "Milan Milanov" wrote: >Hello, > >I¹m trying to use Jackrabbit Oak in a Spring boot-based project, which >uses some libraries that are dependent on version 3 of the >mongo-java-driver. This, however, causes troubles with the Jackrabbit >project, since it¹s dependent on the not-compatible version 2 of the same >driver. Even the ³Getting started² snippet can¹t be run, since >MongoDocumentStore.java#L132/140/etc uses the ensureIndex, which is not >available in the v3 driver. My question is have you come across this >scenario, what would be your suggestion to handle it and do you have any >plans to switch to the v3 of the driver. > >Regards, >Milan Milanov
