From 2b38ee9daf758b9b0889120d9469ff4bd0e9724a Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 8 Jan 2018 10:38:59 +0100 Subject: [PATCH] Polish --- .../src/main/asciidoc/spring-boot-features.adoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index d34bb53b1b..bffe50b205 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -3655,9 +3655,10 @@ should be used to provide all of the configuration. TIP: If `spring.data.mongodb.port` is not specified, the default of `27017` is used. You could delete this line from the example shown earlier. -TIP: If you do not use Spring Data Mongo, you can inject `com.mongodb.Mongo` beans +TIP: If you do not use Spring Data Mongo, you can inject `com.mongodb.MongoClient` beans instead of using `MongoDbFactory`. If you want to take complete control of establishing -the MongoDB connection, you can also declare your own `MongoDbFactory` or `Mongo` bean. +the MongoDB connection, you can also declare your own `MongoDbFactory` or `MongoClient` +bean.