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

Closing a logical connection must close all associated logical statements

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.4.1.3
    • 10.4.1.3
    • JDBC, Network Client
    • None
    • Client-server with statement pooling enabled in the client driver.

    Description

      When a logical connection is closed, all open logical statements created by this connection must be closed.
      The closing is important per the general principle of cleaning up resources, but especially so in the case of statement pooling, as not closing the logical statement can cause side effects on another logical connection (sharing the same physical connection).

      Attachments

        1. derby-3457-2a-stmt_registration.diff
          6 kB
          Kristian Waagan
        2. derby-3457-1c-stmt_closing.diff
          6 kB
          Kristian Waagan
        3. derby-3457-1b-stmt_closing.diff
          10 kB
          Kristian Waagan
        4. derby-3457-1a-stmt_closing.stat
          0.3 kB
          Kristian Waagan
        5. derby-3457-1a-stmt_closing.diff
          10 kB
          Kristian Waagan

        Issue Links

          Activity

            People

              kristwaa Kristian Waagan
              kristwaa Kristian Waagan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: