-
Type:
Improvement
-
Resolution: Won't Do
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.7.0
-
Component/s: Documentation
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
http://mongodb.github.io/mongo-java-driver/3.8/driver/getting-started/quick-start-pojo/
CodecRegistry pojoCodecRegistry = fromRegistries(MongoClient.getDefaultCodecRegistry(), fromProviders(PojoCodecProvider.builder().automatic(true).build()));
MongoClient should be MongoClientSettings as MongoClient.getDefaultCodecRegistry() doesn't exist anymore.
The page may contain other piece of the old API.