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

Dag H. Wanvik updated DERBY-6035:
---------------------------------

    Summary: Client and embedded drivers return different SQL state for 
unregistered parameter  (was: CLient and embedded return different SQL state 
for unregistered parameter)
    
> Client and embedded drivers return different SQL state for unregistered 
> parameter
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-6035
>                 URL: https://issues.apache.org/jira/browse/DERBY-6035
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC, SQL
>    Affects Versions: 10.9.1.0
>            Reporter: Dag H. Wanvik
>            Priority: Minor
>
> Embedded returns 07004 (NEED_TO_REGISTER_PARAM), when the client uses 07000 
> (LANG_MISSING_PARMS), cf. this snippet from LangProcedureTest:
> // Make sure we throw proper error with network server
> // if params are not registered
>         assertCallError(
>                 usingEmbedded() ? "07004" : "07000",
>                 "call SQLC.SQLCONTROL3_0 (?, ?, ?, ?, ?, ?, ?)");

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to