Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 73716 invoked from network); 14 Mar 2007 20:01:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Mar 2007 20:01:31 -0000 Received: (qmail 59191 invoked by uid 500); 14 Mar 2007 20:01:38 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 59163 invoked by uid 500); 14 Mar 2007 20:01:38 -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 59154 invoked by uid 99); 14 Mar 2007 20:01:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 13:01:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 13:01:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4CDCE71407A for ; Wed, 14 Mar 2007 13:01:09 -0700 (PDT) Message-ID: <6133414.1173902469312.JavaMail.jira@brutus> Date: Wed, 14 Mar 2007 13:01:09 -0700 (PDT) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2453) client and embedded differ for return value for PreparedStatement.getMetaData if there is no ResultSet returned In-Reply-To: <9075957.1173901809238.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 [ https://issues.apache.org/jira/browse/DERBY-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-2453: ---------------------------------- Component/s: Newcomer JDBC Affects Version/s: 10.3.0.0 > client and embedded differ for return value for PreparedStatement.getMetaData if there is no ResultSet returned > --------------------------------------------------------------------------------------------------------------- > > Key: DERBY-2453 > URL: https://issues.apache.org/jira/browse/DERBY-2453 > Project: Derby > Issue Type: Task > Components: JDBC, Newcomer > Affects Versions: 10.3.0.0 > Reporter: Kathey Marsden > > Embedded will return a null value for PreparedStatement.getMetaData() if no ResultSet is returned. Client will return a ResultSetMetaData object with 0 columnCount. Looking at the javadoc for getMetaData() it says it returns > "the description of a ResultSet object's columns or null if the driver cannot return a ResultSetMetaData object" > So I am not sure which is the preferable behavior, but it should be the same. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.