Uses of Interface
org.springframework.data.mongodb.core.SessionScoped
-
Uses of SessionScoped in org.springframework.data.mongodb.core
Modifier and TypeMethodDescriptionMongoOperations.withSession
(com.mongodb.ClientSessionOptions sessionOptions) Obtain asession
bound instance ofSessionScoped
binding a newClientSession
with given sessionOptions to each and every command issued against MongoDB.default SessionScoped
MongoOperations.withSession
(Supplier<com.mongodb.client.ClientSession> sessionProvider) Obtain asession
bound instance ofSessionScoped
binding theClientSession
provided by the givenSupplier
to each and every command issued against MongoDB.MongoTemplate.withSession
(com.mongodb.ClientSessionOptions options)