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 "Dag H. Wanvik (JIRA)" <ji...@apache.org> on 2013/01/04 07:26:17 UTC

[jira] [Created] (DERBY-6035) CLient and embedded return different SQL state for unregistered parameter

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

             Summary: CLient and embedded 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