#553 - Upgrade Mongo examples to Spring Boot 2.3.

This commit is contained in:
Mark Paluch
2020-05-11 12:03:10 +02:00
parent 0f911a3337
commit 29046f5ab0
12 changed files with 109 additions and 86 deletions

View File

@@ -23,10 +23,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.mongodb.core.MongoOperations;
import com.mongodb.MongoClient;
/**
* Test configuration to connect to a MongoDB named "test" and using a {@link MongoClient} with profiling enabled.
* Test configuration to connect to a MongoDB named "test" and using a {@code MongoClient} with profiling enabled.
*
* @author Christoph Strobl
*/

View File

@@ -17,10 +17,9 @@ package example.springdata.mongodb.customer;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import com.mongodb.MongoClient;
/**
* Test configuration to connect to a MongoDB named "test" and using a {@link MongoClient}. Also enables Spring Data
* Test configuration to connect to a MongoDB named "test" and using a {@code MongoClient}. Also enables Spring Data
* repositories for MongoDB.
*
* @author Oliver Gierke

View File

@@ -21,10 +21,9 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.data.mongodb.core.mapping.event.BeforeConvertCallback;
import com.mongodb.MongoClient;
/**
* Test configuration to connect to a MongoDB named "test" using a {@link MongoClient}. <br />
* Test configuration to connect to a MongoDB named "test" using a {@code MongoClient}. <br />
* Also enables Spring Data repositories for MongoDB.
*
* @author Mark Paluch