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

Codec Configuration Exception When POJO has Field set as (fluent = true)

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: POJO
    • None
    • Environment:
      Java reactivestreams driver

      While declaring POJO classes with the codec registry configuration having the value of the automatic variable set to true, When the @Accessor(fluent = false) annotation is used, the converting a BSON document to a POJO using the aggregate(List<> Pipeline) successfully converts the MongoDB collection to a POJO. However, when the annotation @Accessor(fluent = true) is used with the POJO class, then a CodecConfigurationException is thrown. Can anyone please help me with this problem?

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            kunaljani18@gmail.com Kunal jani
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: