Upgrade mongo db to 3.2 in spring boot application
<p>I am using spring boot 1.2.8 with Mongo db 2.4.10. I am planning to upgrade mongo db to 3.2.0.</p>

<p>So with current sprinb boot 1.2.8 i use below in pom,</p>

<pre><code>&lt;dependency&gt;
            &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
            &lt;artifactId&gt;spring-boot-starter-data-mongodb&lt;/artifactId&gt;
&lt;/dependency&gt;
</code></pre>

<p>I see in the dependency hierarchy it comes with mongo-java-driver version 2.12.5</p>

<p>But i read in <a href="https://docs.mongodb.com/ecosystem/drivers/java/#id2" rel="noreferrer">mongo java driver doc</a>, it says even with version 2.14, it does not support all MongoDB 3.2 features (e.g., read concern)</p>

<p>So i upgrade spring boot to the latest version of 1.3.3 expecting i would get a mongo-java-driver version 3.2 which support all mongo db 3.2 features.</p>

<p>But i get mongo-java-driver 2.13.3 with Springboot 1.3.3</p>

<p>So how can i upgrade my application to support mongo db version 3.2?</p>

<p>Edit:</p>

<p>With the latest spring boot 1.3.4 below is the hierarchy,</p>

<pre><code>spring-boot-starter-data-mongodb 1.3.4 [compile]
    -mongo-java-driver 2.13.3 [compile]
        -spring-data-mongodb 1.8.4 [compile]
              -mongo-java-driver 2.13.3 [omitted for conflict with 2.13.3]
</code></pre>

<p>The <a href="http://docs.spring.io/spring-data/data-mongo/docs/1.9.0.RELEASE/reference/html/#new-features.1-9-0" rel="noreferrer">ref doc</a> says,
What’s new in Spring Data MongoDB 1.9=>Assert compatibility with MongoDB 3.0 and MongoDB Java Driver 3.2</p>

<p>What’s new in Spring Data MongoDB 1.7=>Assert compatibility with MongoDB 3.0 and MongoDB Java Driver 3-beta3 </p>

<p>So is it correct to say, if i use spring boot 1.3.4 with just above mentioned spring boot 1.3.4, it will support all features of mongo db 3.2, although i get spring-data-mongodb 1.8.4?</p>