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

Issue with setter of different type than field

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • POJO
    • None

    Description

      In cases where there are multiple setters or just a single setter with a different type than the field type, the code breaks: org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class some.package.MyTestPojo.

      Attachments

        Activity

          People

            Unassigned Unassigned
            esha.bhargava@mongodb.com Esha Bhargava
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: