Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: None
    • Components: None
    • Labels:
    • Sprint:

      Description

      while investigate IDEMPIERE-3883 Resolved , i see code at GridTable.openResultSet line 3593
      when SQLException happen for m_rs = m_pstmt.executeQuery();
      don't see anywhere close m_pstmt, m_rs so can potential leak connection

      i try my assumption by below change:

      after m_rs = m_pstmt.executeQuery(); add throw new SQLException("test");
      now each time i refresh on standard window, one connection will leak on "idle transaction" state
      can confirm it by pgadmin

      attach patch from Carlos Ruiz

        Attachments

          Activity

            People

            • Assignee:
              carlosruiz_globalqss Carlos Ruiz
              Reporter:
              hieplq Hiep Lq
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: