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

ConventionAnnotationImpl issue with a @BsonIgnore'd setter method

    XMLWordPrintableJSON

Details

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

    Description

      ConventionAnnotationImpl takes the @BsonIgnore annotation into consideration, but when there is @BsonIgnore-d setter method, but no field or getter it results into a problematic: Unable to get value for property 'nonExistingValue' in MyTestPojo

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: