You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <ji...@apache.org> on 2011/02/14 21:59:57 UTC

[jira] Updated: (DERBY-2516) Network Client allows execution of callable statement when one of the parameters is not set

     [ https://issues.apache.org/jira/browse/DERBY-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kathey Marsden updated DERBY-2516:
----------------------------------

      Issue & fix info: [Newcomer]
               Urgency: Low
    Bug behavior facts: [Embedded/Client difference]
                Labels: derby_triage10_8  (was: )

Triaged for 10.8. Marked newcomer  hoping the fix is as clear as the reproduction.

> Network Client allows execution of callable statement when one of the parameters is not set
> -------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2516
>                 URL: https://issues.apache.org/jira/browse/DERBY-2516
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.3.1.4
>            Reporter: Kathey Marsden
>            Priority: Minor
>              Labels: derby_triage10_8
>
> 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);
>             }
>         

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira