Skip to content

Commit 2bbffed

Browse files
committed
DATAMONGO-1508 - Polishing.
Highlight attribute name. Replace tabs with spaces. Original pull request: #399.
1 parent 685990b commit 2bbffed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/asciidoc/reference/mongodb.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ You can also provide the host and port for the underlying `com.mongodb.Mongo` in
387387
password="secret"/>
388388
----
389389

390-
If your mongodb authentication database differs from the target database, use the authentication-dbname attribute, as shown below.
390+
If your MongoDB authentication database differs from the target database, use the `authentication-dbname` attribute, as shown below.
391391

392392
[source,xml]
393393
----
@@ -397,8 +397,8 @@ If your mongodb authentication database differs from the target database, use th
397397
dbname="database"
398398
username="joe"
399399
password="secret"
400-
authentication-dbname="admin"
401-
/>
400+
authentication-dbname="admin"
401+
/>
402402
----
403403

404404
If you need to configure additional options on the `com.mongodb.Mongo` instance that is used to create a `SimpleMongoDbFactory` you can refer to an existing bean using the `mongo-ref` attribute as shown below. To show another common usage pattern, this listing shows the use of a property placeholder to parametrise the configuration and creating `MongoTemplate`.

0 commit comments

Comments
 (0)