org.springframework.data.mongodb

Interface MongoSessionProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      com.mongodb.client.ClientSession getSession(com.mongodb.ClientSessionOptions options)
      Obtain a ClientSession with with given options.
    • Method Detail

      • getSession

        com.mongodb.client.ClientSession getSession(com.mongodb.ClientSessionOptions options)
        Obtain a ClientSession with with given options.
        Parameters:
        options - must not be null.
        Returns:
        never null.
        Throws:
        DataAccessException