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

        Kathey Marsden created issue -
        Kathey Marsden made changes -
        Field Original Value New Value
        Labels derby_triage10_8
        Bug behavior facts [Embedded/Client difference]
        Urgency Low
        Issue & fix info [Newcomer, Repro attached]
        Gavin made changes -
        Workflow jira [ 12401047 ] Default workflow, editable Closed status [ 12798347 ]

          People

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

            Dates

            • Created:
              Updated:

              Development