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

Network Client allows execution of callable statement when one of the parameters is not set

    Details

    • Urgency:
      Low
    • Issue & fix info:
      Newcomer
    • Bug behavior facts:
      Embedded/Client difference

      Description

      If the second input parameter is set and the first is not. Client allows execution of the stored procedure. See the following code in LangProcedureTest.java with a reference to this bug.

      op.clearParameters();
      op.setString(2, "2");
      try

      { // a not set op.execute(); fail("FAIL - a not set"); }

      catch (SQLException sqle)

      { assertSQLState("07000", sqle); }

        Attachments

        1. d2516-1a.diff
          5 kB
          Knut Anders Hatlen

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: