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); }
      1. d2516-1a.diff
        5 kB
        Knut Anders Hatlen

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development