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/06/19 10:03:20 UTC
[jira] [Updated] (DERBY-6035) Client and embedded drivers return
different SQL state for unregistered parameter
[ https://issues.apache.org/jira/browse/DERBY-6035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dag H. Wanvik updated DERBY-6035:
---------------------------------
Affects Version/s: 10.0.2.1
10.1.1.0
10.1.2.1
10.1.3.1
10.2.1.6
10.2.2.0
10.3.1.4
10.3.2.1
10.3.3.0
10.4.1.3
10.4.2.0
10.5.1.1
10.5.2.0
10.5.3.0
10.6.1.0
10.6.2.1
10.7.1.1
10.8.1.2
10.8.2.2
10.8.3.0
10.10.1.1
> 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.0.2.1, 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6, 10.2.2.0, 10.3.1.4, 10.3.2.1, 10.3.3.0, 10.4.1.3, 10.4.2.0, 10.5.1.1, 10.5.2.0, 10.5.3.0, 10.6.1.0, 10.6.2.1, 10.7.1.1, 10.8.1.2, 10.8.2.2, 10.8.3.0, 10.9.1.0, 10.10.1.1
> 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