Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 22676 invoked from network); 27 Feb 2006 13:47:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Feb 2006 13:47:12 -0000 Received: (qmail 67375 invoked by uid 500); 27 Feb 2006 13:47:11 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 67342 invoked by uid 500); 27 Feb 2006 13:47:10 -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 67333 invoked by uid 99); 27 Feb 2006 13:47:10 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 05:47:10 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 70596DD for ; Mon, 27 Feb 2006 14:46:49 +0100 (CET) Message-ID: <689504850.1141048009458.JavaMail.jira@ajax.apache.org> Date: Mon, 27 Feb 2006 14:46:49 +0100 (CET) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Created: (DERBY-1060) ResultSet methods should throw exception when the ResultSet is closed 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 ResultSet methods should throw exception when the ResultSet is closed --------------------------------------------------------------------- Key: DERBY-1060 URL: http://issues.apache.org/jira/browse/DERBY-1060 Project: Derby Type: Bug Components: JDBC, Network Client, Newcomer Versions: 10.2.0.0 Reporter: Knut Anders Hatlen Priority: Minor The JDBC 4 spec says: Once a ResultSet has been closed, any attempt to access any of its methods with the exception of the isClosed method will result in a SQLException being thrown. This is not always the case in Derby, and the behaviour is not the same on the client driver and the embedded driver. The following ResultSet methods do not throw an exception when the result set is closed: Client driver: clearWarnings() close() getMetaData() getStatement() getWarnings() Embedded driver: close() getConcurrency() getRow() getStatement() getType() rowDeleted() rowInserted() rowUpdated() setFetchDirection() getFetchDirection() setFetchSize() getFetchSize() -- 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