@@ -61,6 +61,20 @@ tasks with the ``MongoClientSettings`` class:
6161For more information on the ``MongoClientSettings`` class, see the
6262:java-docs:`API Documentation for MongoClientSettings <apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.html>`.
6363
64+ How do I fix: "javax.net.ssl.SSLHandshakeException: extension (5) should not be presented in certificate_request"?
65+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66+
67+ This is a `known error
68+ <https://bugs.openjdk.java.net/browse/JDK-8236039>`__ that can occur
69+ when using the TLS 1.3 protocol with specific versions of the JDK. If
70+ you encounter this error when connecting to your MongoDB instance or
71+ cluster, update your JDK to one of the following patch versions or
72+ newer:
73+
74+ - JDK 11.0.7
75+ - JDK 13.0.3
76+ - JDK 14.0.2
77+
6478POJOs
6579-----
6680
@@ -79,10 +93,10 @@ Can I use polymorphism in a POJO accessor?
7993
8094Yes, by using a discriminator.
8195
82- What is the discriminator?
83- ~~~~~~~~~~~~~~~~~~~~~~~~~~
96+ What is a discriminator?
97+ ~~~~~~~~~~~~~~~~~~~~~~~~
8498
85- The discriminator is for cases where you want to use inheritance, and
99+ A discriminator is for cases where you want to use inheritance, and
86100store multiple types of documents within the same collection or parent
87101document (in case you embed sub-documents).
88102
@@ -133,8 +147,8 @@ For example, the following methods throws an exception during encoding:
133147 private String getField();
134148 public String setField(String x);
135149
136- How do I fix: org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class X . ?
137- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150+ How do I fix: " org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class X." ?
151+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138152
139153This exception means you need to register a codec for the class since
140154there is none at the moment.
0 commit comments