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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.0
    • Affects Version/s: None
    • Component/s: POJO
    • Labels:
      None

      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".

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

              Created:
              Updated:
              Resolved: