com.mongodb.MongoWriteException instead of com.mongodb.DuplicateKeyException

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.5.0
    • Component/s: Write Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None


      returns com.mongodb.MongoWriteException: E11000 duplicate key error index during upserts instead of com.mongodb.DuplicateKeyException. It would be helpful if the driver returns com.mongodb.DuplicateKeyException so a user can take a useful action.

            Assignee:
            Unassigned
            Reporter:
            kant kodali
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: