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

Differences between client and embedded when invoking stored procedures using Statement.executeUpdate()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.2.1.6
    • Fix Version/s: 10.2.1.6
    • Component/s: JDBC
    • Labels:
      None
    • Issue & fix info:
      Patch Available, Release Note Needed

      Description

      When invoking a stored procedure using Statement.executeUpdate(), the
      client driver and the embedded driver behave differently.

      If the stored procedure does not return any result set, the embedded
      driver returns 0, whereas the client returns -1.

      If the stored procedure returns one or more result sets, the embedded
      driver returns -1, whereas the client fails with an exception.

        Attachments

        1. derby-1314-v1.diff
          4 kB
          Knut Anders Hatlen
        2. derby-1314-v1.stat
          0.2 kB
          Knut Anders Hatlen

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: