Uploaded image for project: 'MongoDB for IntelliJ Plugin'
  1. MongoDB for IntelliJ Plugin
  2. INTELLIJ-123

java driver dialect is not aware of session parameters for transactions

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.0
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 2
    • Not Needed
    • Developer Tools

      Problem Statement/Rationale

      The Java Driver supports, on several methods, a first parameter of type Session, to allow using MongoDB commands in a transaction. Right now, the parser, ignores this first parameter and assumes it is a filter, generating an empty query.

      Steps to Reproduce

      Create a query with a session.

      Expected Results

      We, for now, ignore the session parameter and start processing after the session parameter.

      Actual Results

      We are considering the session parameter as the filter of the query and it's incorrect.

      Additional Notes

      Any additional information that may be useful to include.

            Assignee:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Reporter:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: