-
ReactiveMongoOperations.withSession(com.mongodb.ClientSessionOptions sessionOptions)
Obtain a
session
bound instance of
SessionScoped
binding a new
ClientSession
with given sessionOptions to each and every command issued against MongoDB.
ReactiveMongoOperations.withSession(Supplier<com.mongodb.reactivestreams.client.ClientSession> sessionProvider)
Obtain a
session
bound instance of
SessionScoped
binding the
ClientSession
provided by the given
Supplier
to each and every command issued against MongoDB.
ReactiveMongoOperations.withSession(org.reactivestreams.Publisher<com.mongodb.reactivestreams.client.ClientSession> sessionProvider)
Obtain a
session
bound instance of
ReactiveSessionScoped
binding the
ClientSession
provided by the given
Publisher
to each and every command issued against MongoDB.
ReactiveMongoTemplate.withSession(com.mongodb.ClientSessionOptions sessionOptions)
ReactiveMongoTemplate.withSession(org.reactivestreams.Publisher<com.mongodb.reactivestreams.client.ClientSession> sessionProvider)