Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F17610B8C for ; Wed, 19 Jun 2013 08:03:21 +0000 (UTC) Received: (qmail 13945 invoked by uid 500); 19 Jun 2013 08:03:21 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 13751 invoked by uid 500); 19 Jun 2013 08:03:21 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 13731 invoked by uid 99); 19 Jun 2013 08:03:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 08:03:20 +0000 Date: Wed, 19 Jun 2013 08:03:20 +0000 (UTC) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DERBY-6035) Client and embedded drivers return different SQL state for unregistered parameter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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