Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-130

IDENTITY_VAL_LOCAL not reset when new Connection returned from PooledConnection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.0.2.1, 10.1.1.0
    • 10.1.1.0
    • JDBC
    • None

    Description

      With embedded pooled connections identity column values can be leaked from one user's connection to the other. With a PooledConnection the state of IDENTITY_VAL_LOCAL variable is not reset when the underlying EmbeddedConnection is re-used.
      Thus an application can use this function to see a value that was returned to a previous user of the pooled connection.

      A general reset() mechanism is needed on EmbeddedConnection/LanguageConnectionContext, this could replace and encapsulate the current single item that is reset, dropping of session temporary tables.

      Attachments

        Activity

          People

            djd Daniel John Debrunner
            djd Daniel John Debrunner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: