Commit 2b38ee9d authored by Stephane Nicoll's avatar Stephane Nicoll

Polish

parent 06572b01
...@@ -3655,9 +3655,10 @@ should be used to provide all of the configuration. ...@@ -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 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. 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 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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment