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

Client driver: Implicitly close exhausted result sets on the server

    XMLWordPrintableJSON

Details

    • Performance

    Description

      Forward-only result sets that are exhausted should be implicitly
      closed on the server. This way, ResultSet.close() does not have to
      send an explicit close message generating unnecessary network traffic.

      The DRDA protocol supports this. From the description of OPNQRY (open
      query):

      The qryclsimp parameter controls whether the target server
      implicitly closes a non-scrollable query upon end of data (SQLSTATE
      02000) in association with the cursor type.

      Attachments

        1. DERBY-821-v2.diff
          71 kB
          Knut Anders Hatlen
        2. DERBY-821-v2.stat
          3 kB
          Knut Anders Hatlen
        3. changes.html
          17 kB
          Knut Anders Hatlen
        4. DERBY-821.diff
          59 kB
          Knut Anders Hatlen
        5. DERBY-821.stat
          2 kB
          Knut Anders Hatlen

        Activity

          People

            knutanders Knut Anders Hatlen
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: