-
Bug
-
Resolution: Done
-
Major
-
None
-
1.3.0.Beta7
-
None
MongoItemReaderWriterBase.java:[159,25] getDB(java.lang.String) in com.mongodb.Mongo has been deprecated. It should be updated to use the correct API.
http://api.mongodb.com/java/3.3/com/mongodb/Mongo.html
@Deprecated
public DB getDB(String dbName)Deprecated. use MongoClient.getDatabase(String)
Gets a database object. Users should use MongoClient.getDatabase(String) instead.
The DB class has been superseded by MongoDatabase. The deprecation of this method effectively deprecates the DB, DBCollection, and DBCursor classes, among others; but in order to give users time to migrate to the new API without experiencing a huge number of compiler warnings, those classes have not yet been formally deprecated.Parameters:
dbName - the name of the database to retrieve
Returns:
a DB representing the specified database
- is related to
-
JBERET-439 Upgrade mongojack from current 2.3.0 to 2.8.2
-
- Resolved
-