Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5132

Can I only implement transactions by passing in a ClientSession

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Transaction Management
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Excuse me, can I only implement transactions by passing in a ClientSession during CRUD? In this way, I won't be able to customize the operations. For example, if I want to use annotation control, is there a way for me to control it myself? For example, if I pass a ClientSession to MongoClient, I pass it, but it's still not available and cannot be rolled back

            Assignee:
            Unassigned Unassigned
            Reporter:
            j15030047216@163.com chaoyang jia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: