You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The import statements required for the files in the tutorial have not been included on the page. See the :github:`GitHub repository</mongodb-developer/SpringDataMongoBulkInsert>` for complete files.
89
89
@@ -112,7 +112,7 @@ of the Spring Data MongoDB documentation, and the :ref:`Compatibility
112
112
113
113
If you used the `Spring Initializr <https://start.spring.io/>`__ or a clone of the :github:`Spring Boot sample project <spring-guides/gs-spring-boot>` to create your project, versioning compatibility has already been accounted for, and the ``spring-boot-starter-data-mongodb`` component will already be included in your ``pom.xml`` file.
114
114
115
-
Add the dependencies to your ``pom.xml``:
115
+
Add the following dependencies to your ``pom.xml``:
116
116
117
117
.. code-block:: xml
118
118
@@ -127,12 +127,13 @@ Add the dependencies to your ``pom.xml``:
127
127
<version>2.4.3</version>
128
128
</dependency>
129
129
130
-
The ``datafaker`` dependency is used to generate a large quantity of Product objects.
130
+
The ``datafaker`` dependency is used to generate a large quantity of ``Product``
131
+
objects to use in the bulk write operation.
131
132
132
-
MongoClient Configuration
133
-
~~~~~~~~~~~~~~~~~~~~~~~~~
133
+
Configure your MongoClient
134
+
~~~~~~~~~~~~~~~~~~~~~~~~~~
134
135
135
-
The ``MongodConfig`` class contains the configuration for the ``MongoClient``
136
+
The ``MongoConfig`` class contains the configuration for the ``MongoClient``
136
137
that will allow the Spring Data framework to interact with the MongoDB server,
137
138
and sets other configuration options. For more information about configuration
138
139
options, see the :ref:`Specify Connection Options <specify-mongoclient-settings>`
@@ -150,15 +151,21 @@ Spring Data framework guide:
0 commit comments