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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.2.1.6
    • 10.2.1.6
    • JDBC
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: