[JAVA-1046] Deprecate getlasterror-related commands in DB class Created: 07/Nov/13  Updated: 12/May/14  Resolved: 07/Nov/13

Status: Closed
Project: Java Driver
Component/s: API, Write Operations
Affects Version/s: None
Fix Version/s: 2.12.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by JAVA-1213 Remove getlasterror-related commands ... Closed

 Description   

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


 Comments   
Comment by auto [ 07/Nov/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1046: Deprecated getlasterror-release methods in DB class
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/1380585deb28736b981d5a9cb7099d4706f46817

Generated at Thu Feb 08 08:53:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.