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] Created: (DERBY-2516) Network Client allows execution of callable statement when one of the parameters is not set
Date Mon, 02 Apr 2007 23:47:32 GMT
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
    Affects Versions: 10.3.0.0
            Reporter: Kathey Marsden
            Priority: Minor


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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message