Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-412

Cannot use DatabaseConfiguration if the datasource has autocommit = false

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.7
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows / Linux - Database Oracle 11

      Description

      If using a DatabaseConfiguration object with a datasource that has autocommit = false, the setProperty method fails with a duplicate key error.

      This happens because in the setProperty method the two calls clearProperty(key) and addProperty(key, value) can retrieve two different connections from the database.

        Attachments

          Activity

            People

            • Assignee:
              oheger Oliver Heger
              Reporter:
              stefano.bertini Stefano Bertini
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: