MongoDatabaseFactory instead.@Deprecated public interface MongoDbFactory extends MongoDatabaseFactory
MongoDatabase instances.| Modifier and Type | Method and Description |
|---|---|
default com.mongodb.client.MongoDatabase |
getDb()
Deprecated.
since 3.0. Use
MongoDatabaseFactory.getMongoDatabase() instead. |
default com.mongodb.client.MongoDatabase |
getDb(String dbName)
Deprecated.
since 3.0. Use
MongoDatabaseFactory.getMongoDatabase(String) instead. |
getCodecRegistry, getExceptionTranslator, getMongoDatabase, getMongoDatabase, getSession, isTransactionActive, withSession, withSessiongetCodecFor, hasCodecFor@Deprecated default com.mongodb.client.MongoDatabase getDb() throws DataAccessException
MongoDatabaseFactory.getMongoDatabase() instead.MongoDatabase instance.DataAccessException@Deprecated default com.mongodb.client.MongoDatabase getDb(String dbName) throws DataAccessException
MongoDatabaseFactory.getMongoDatabase(String) instead.MongoDatabase instance to access the database with the given name.dbName - must not be null or empty.DataAccessExceptionCopyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.