Derby
  1. Derby
  2. DERBY-2512

Network client should not allow prepare of a stored procedure with an output parameter using a PreparedStatement

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: None
    • Component/s: Network Client
    • Urgency:
      Low
    • Issue & fix info:
      Newcomer, Repro attached
    • Bug behavior facts:
      Embedded/Client difference

      Description

      In converting procedure.java I found this issue. Network Client should not allow a statement to be prepared using a PreparedStatement object if it has an output parameter. See the following case and reference to this bug in the converted LangProcedureTest.java

      PreparedStatement ps = conn.prepareStatement("CALL OP1(?, ?)");
      fail("FAIL prepare succeeded on OUT param with PreparedStatement");

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Kathey Marsden
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development