File tree Expand file tree Collapse file tree 3 files changed +4
-18
lines changed Expand file tree Collapse file tree 3 files changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Connect to MongoDB
7
7
.. contents:: On this page
8
8
:local:
9
9
:backlinks: none
10
- :depth: 1
10
+ :depth: 2
11
11
:class: singlecol
12
12
13
13
.. facet::
@@ -206,7 +206,7 @@ class. Select the tab that corresponds to your preferred class.
206
206
.build();
207
207
MongoClient mongoClient = MongoClients.create(settings);
208
208
209
- ked Questions
209
+ Frequently Asked Questions
210
210
--------------------------
211
211
212
212
This section answers questions that may arise when
Original file line number Diff line number Diff line change @@ -246,18 +246,4 @@ How do I fix: "org.bson.codecs.configuration.CodecConfigurationException: Can't
246
246
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247
247
248
248
This exception means you must register a codec for the class since
249
- none exist.
250
-
251
- Summary
252
- -------
253
-
254
- This guide describes how to convert data between BSON and the POJO format
255
- by performing the following tasks:
256
-
257
- - Instantiate a ``PojoCodecProvider`` which contains codecs that define how to
258
- encode and decode data between BSON and the POJO fields.
259
- - Specify the **automatic** conversion behavior for the ``PojoCodecProvider``
260
- to apply the ``Codecs`` to any class and its properties.
261
- - Add the ``PojoCodecProvider`` to a ``CodecRegistry``, and specify the
262
- registry on an instance of a ``MongoDatabase`` or ``MongoCollection``.
263
- - Perform CRUD operations that use the sample POJO class.
249
+ none exist.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Migrate from the Legacy API
7
7
.. contents:: On this page
8
8
:local:
9
9
:backlinks: none
10
- :depth: 1
10
+ :depth: 2
11
11
:class: singlecol
12
12
13
13
Overview
You can’t perform that action at this time.
0 commit comments