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

Deprecate getlasterror-related commands in DB class

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.0
    • Affects Version/s: None
    • Component/s: API, Write Operations
    • None

      As of version 2.6 of the server, the Java driver will be using the new write commands for writes, so getlasterror will no longer work. Deprecating:

      • getLastError (3 overloads)
      • getPreviousError
      • forceError

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: