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

autocommit mode should not be directly set on pooled connections

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 8.10
    • Fix Version/s: 8.10-HF01, 9.1
    • Component/s: Core VCS

      Description

      The first time we're opening the repository, the connection is used for initializing the database if needed. Databases requires the connection being ran in a non transactional mode for executing DDL operations. Since NXP-19361, we're always running a transaction when accessing to the repository. So JDBC pools are always returning connection running in transactional mode.

      Instead of operating directly with the auto-commit mode when we're invoking the database creation, we should instead operate on the transaction before obtaining the connecrion from the pool.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days
                  2d