Skip to content

Commit 13caa16

Browse files
committed
DATAMONGO-2598 - Polishing.
Original pull request: #872.
1 parent d5d620d commit 13caa16

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/asciidoc/reference/client-session-transactions.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ Inside transactions, MongoDB server has a slightly different behavior.
339339
*Connection Settings*
340340

341341
The MongoDB drivers offer a dedicated replica set name configuration option turing the driver into auto detection
342-
mode. This option helps identifying replica set manager nodes and command routing during a transaction.
342+
mode. This option helps identifying the primary replica set nodes and command routing during a transaction.
343343

344344
NOTE: Make sure to add `replicaSet` to the MongoDB URI. Please refer to https://docs.mongodb.com/manual/reference/connection-string/#connections-connection-options[connection string options] for further details.
345345

src/main/asciidoc/reference/mapping.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,9 @@ class Nested {
785785
[[mapping-usage-references]]
786786
=== Using DBRefs
787787

788-
The mapping framework does not have to store child objects embedded within the document. You can also store them separately and use a DBRef to refer to that document. When the object is loaded from MongoDB, those references are eagerly resolved so that you get back a mapped object that looks the same as if it had been stored embedded within your controlling document.
788+
The mapping framework does not have to store child objects embedded within the document.
789+
You can also store them separately and use a DBRef to refer to that document.
790+
When the object is loaded from MongoDB, those references are eagerly resolved so that you get back a mapped object that looks the same as if it had been stored embedded within your top-level document.
789791

790792
The following example uses a DBRef to refer to a specific document that exists independently of the object in which it is referenced (both classes are shown in-line for brevity's sake):
791793

0 commit comments

Comments
 (0)