Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2942

Quick start POJOs v3.8 doc needs to be updated with new API.

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • 3.7.0
    • Documentation
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            maxime.beugnet@mongodb.com Maxime Beugnet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: