@Deprecated public interface MongoDbFactoryDecorator extends com.github.cloudyrock.mongock.driver.api.lock.guard.decorator.Invokable, org.springframework.data.mongodb.MongoDbFactory
| Modifier and Type | Method and Description |
|---|---|
default com.mongodb.client.MongoDatabase |
getDb()
Deprecated.
|
default com.mongodb.client.MongoDatabase |
getDb(String dbName)
Deprecated.
|
default org.springframework.dao.support.PersistenceExceptionTranslator |
getExceptionTranslator()
Deprecated.
|
org.springframework.data.mongodb.MongoDbFactory |
getImpl()
Deprecated.
|
default com.mongodb.client.MongoDatabase |
getMongoDatabase()
Deprecated.
|
default com.mongodb.client.MongoDatabase |
getMongoDatabase(String dbName)
Deprecated.
|
default com.mongodb.client.ClientSession |
getSession(com.mongodb.ClientSessionOptions clientSessionOptions)
Deprecated.
|
default org.springframework.data.mongodb.MongoDatabaseFactory |
withSession(com.mongodb.client.ClientSession clientSession)
Deprecated.
|
getInvokerorg.springframework.data.mongodb.MongoDbFactory getImpl()
default com.mongodb.client.MongoDatabase getDb()
throws org.springframework.dao.DataAccessException
getDb in interface org.springframework.data.mongodb.MongoDbFactoryorg.springframework.dao.DataAccessExceptiondefault com.mongodb.client.MongoDatabase getDb(String dbName) throws org.springframework.dao.DataAccessException
getDb in interface org.springframework.data.mongodb.MongoDbFactoryorg.springframework.dao.DataAccessExceptiondefault com.mongodb.client.MongoDatabase getMongoDatabase()
throws org.springframework.dao.DataAccessException
getMongoDatabase in interface org.springframework.data.mongodb.MongoDatabaseFactoryorg.springframework.dao.DataAccessExceptiondefault com.mongodb.client.MongoDatabase getMongoDatabase(String dbName) throws org.springframework.dao.DataAccessException
getMongoDatabase in interface org.springframework.data.mongodb.MongoDatabaseFactoryorg.springframework.dao.DataAccessExceptiondefault org.springframework.dao.support.PersistenceExceptionTranslator getExceptionTranslator()
getExceptionTranslator in interface org.springframework.data.mongodb.MongoDatabaseFactorydefault com.mongodb.client.ClientSession getSession(com.mongodb.ClientSessionOptions clientSessionOptions)
getSession in interface org.springframework.data.mongodb.MongoDatabaseFactorygetSession in interface org.springframework.data.mongodb.MongoSessionProviderdefault org.springframework.data.mongodb.MongoDatabaseFactory withSession(com.mongodb.client.ClientSession clientSession)
withSession in interface org.springframework.data.mongodb.MongoDatabaseFactoryCopyright © 2021. All rights reserved.