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

Add annotation to exclude id field from being marked as the IdProperty.

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.0
    • None
    • POJO
    • None

    Description

      Some users may have two "id" fields - the automatic "_id" and their own.
      Also, when a POJO is embedded it makes less sense to convert "id" fields to "_id".

      Attachments

        Activity

          People

            ross@mongodb.com Ross Lawley
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: