db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2516) Network Client allows execution of callable statement when one of the parameters is not set
Date Mon, 14 Feb 2011 20:59:57 GMT

     [ 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

        

Mime
View raw message