Add reference to original object when inserting duplicate key

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.7.2
    • Component/s: None
    • None
    • Environment:
      RHEL 5, Java 1.6, Maven 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When inserting a duplicate document, it would be cool if the original ID could be returned with the DuplicateKey exception. Rather than querying for my document before inserting it, I'm simply inserting it and catching the DuplicateKey exception. I'd like to be able to add the ID to my "duplicate" object so I can continue processing without having to query again for it.

            Assignee:
            Jeffrey Yemin
            Reporter:
            themanatuf
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: