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

Make ResultSet.getStatement return the correct statement when created by a logical statement

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.4.1.3
    • Fix Version/s: 10.4.2.0, 10.5.1.1
    • Component/s: JDBC, Network Client
    • Labels:
      None

      Description

      ResultSet.getStatement must return the correct statement, that is the statement that created the result set.

      It is particularly important for result set created by logical statements, as leaking of physical statements can cause all kinds of side effects in a connection pooling environment.

        Attachments

        1. derby-3446-3a-stmtpool_test.diff
          2 kB
          Kristian Waagan
        2. derby-3446-2c_rs_getstatement_alternative.diff
          3 kB
          Kristian Waagan
        3. derby-3446-2b_rs_getstatement_alternative.diff
          6 kB
          Kristian Waagan
        4. derby-3446-2a_rs_getstatement_alternative.stat
          0.4 kB
          Kristian Waagan
        5. derby-3446-2a_rs_getstatement_alternative.diff
          7 kB
          Kristian Waagan
        6. derby-3446-1a_rs_getstatement.stat
          0.2 kB
          Kristian Waagan
        7. derby-3446-1a_rs_getstatement.diff
          7 kB
          Kristian Waagan

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: