BTM
  1. BTM
  2. BTM-61

BTM should close statements as soon as the user closes the connection

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.3
    • Fix Version/s: 2.0.0
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Currently statements are only closed when a connection is returned to the pool. However, because the connection can wait in STATE_NOT_ACCESSIBLE, or can be re-issued to another caller, it is better to release resources as soon as possible. Statements should also be closed when the connection transitions to STATE_NOT_ACCESSIBLE.

        Activity

        Hide
        Brett Wooldridge added a comment -

        Uncached statements are now closed when a connection transitions to STATE_NOT_ACCESSIBLE.

        Show
        Brett Wooldridge added a comment - Uncached statements are now closed when a connection transitions to STATE_NOT_ACCESSIBLE.
        Hide
        Ludovic Orban added a comment -

        Fair & fine change. Good change.

        Show
        Ludovic Orban added a comment - Fair & fine change. Good change.

          People

          • Assignee:
            Brett Wooldridge
            Reporter:
            Brett Wooldridge
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: