@@ -61,6 +61,20 @@ tasks with the ``MongoClientSettings`` class:
61
61
For more information on the ``MongoClientSettings`` class, see the
62
62
:java-docs:`API Documentation for MongoClientSettings <apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.html>`.
63
63
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
+
64
78
POJOs
65
79
-----
66
80
@@ -79,10 +93,10 @@ Can I use polymorphism in a POJO accessor?
79
93
80
94
Yes, by using a discriminator.
81
95
82
- What is the discriminator?
83
- ~~~~~~~~~~~~~~~~~~~~~~~~~~
96
+ What is a discriminator?
97
+ ~~~~~~~~~~~~~~~~~~~~~~~~
84
98
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
86
100
store multiple types of documents within the same collection or parent
87
101
document (in case you embed sub-documents).
88
102
@@ -133,8 +147,8 @@ For example, the following methods throws an exception during encoding:
133
147
private String getField();
134
148
public String setField(String x);
135
149
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
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138
152
139
153
This exception means you need to register a codec for the class since
140
154
there is none at the moment.
0 commit comments