Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-11681

SQL session should be disposed at commit time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.7.2
    • Component/s: Core VCS

      Description

      Once a session is committed, the SQL session remains connected to the back-end. The side effect of this is that when a new transaction is started, we're not enlisting the connection in the transaction and the connection stay in auto commit mode.

      One way of solving is to

      • disassociate the connection from the SQL session at commit time
      • enforce the session state checking by comparing the current transaction mode with the associating state

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: