[JAVA-1047] Remove getlasterror-related commands in DB class Created: 07/Nov/13  Updated: 31/Mar/15  Resolved: 07/Nov/13

Status: Closed
Project: Java Driver
Component/s: API, Write Operations
Affects Version/s: None
Fix Version/s: 3.0.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


 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. These methods were deprecated in 2.12.0, and will be removed in 3.0:

  • getLastError (3 overloads)
  • getPreviousError
  • forceError


 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

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-1047: Removed deprecated methods related to getlasterror command. Ported Javadoc from master.
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/b4febb41a4f567831b2b2050768536545c449f4e

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