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

Cannot use DatabaseConfiguration if the datasource has autocommit = false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.2
    • 1.7
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: