Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 21458 invoked from network); 12 Jun 2006 07:41:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jun 2006 07:41:42 -0000 Received: (qmail 23054 invoked by uid 500); 12 Jun 2006 07:41:41 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 23027 invoked by uid 500); 12 Jun 2006 07:41:40 -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 23018 invoked by uid 99); 12 Jun 2006 07:41:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2006 00:41:40 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2006 00:41:40 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9A9B2714294 for ; Mon, 12 Jun 2006 07:40:30 +0000 (GMT) Message-ID: <16149808.1150098030630.JavaMail.jira@brutus> Date: Mon, 12 Jun 2006 07:40:30 +0000 (GMT+00:00) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1395) Change the client SQLState to match that of embedded for the exception thrown on a closed statement whose connection is also closed In-Reply-To: <8068695.1150064489843.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1395?page=comments#action_12415827 ] Knut Anders Hatlen commented on DERBY-1395: ------------------------------------------- The SQL states are different when the statement is closed and the connection still open too: Embedded: SQLSTATE = XJ012 Client before: SQLSTATE = null Client after: SQLSTATE = XCL31 > Change the client SQLState to match that of embedded for the exception thrown on a closed statement whose connection is also closed > ----------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-1395 > URL: http://issues.apache.org/jira/browse/DERBY-1395 > Project: Derby > Type: Improvement > Components: Network Client > Versions: 10.2.0.0, 10.1.3.0 > Reporter: Deepa Remesh > Priority: Trivial > > Scenario: Both connection and statement are closed and an operation is performed on a closed statement. SQLStates are as follows: > Embedded: SQLSTATE: XJ012, Message: Statement Closed > Client before DERBY-843 fix: SQLSTATE = null, message = Statement closed > Client after DERBY-843 fix: SQLSTATE: 08003, Message: connection closed > This issue is related to the effort started in DERBY-254. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira