Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 91604 invoked from network); 17 Oct 2005 19:53:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Oct 2005 19:53:08 -0000 Received: (qmail 92182 invoked by uid 500); 17 Oct 2005 19:53:06 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 92163 invoked by uid 500); 17 Oct 2005 19:53:06 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 92148 invoked by uid 99); 17 Oct 2005 19:53:06 -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, 17 Oct 2005 12:53:06 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 6F86C237 for ; Mon, 17 Oct 2005 21:52:45 +0200 (CEST) Message-ID: <1605913015.1129578765454.JavaMail.jira@ajax.apache.org> Date: Mon, 17 Oct 2005 21:52:45 +0200 (CEST) From: "Thomas Fischer (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-142) ResultSetMetaData.isReadOnly() also returns wrong results In-Reply-To: <1105404094.1108208233737.JavaMail.jira@ajax.apache.org> 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-142?page=comments#action_12332283 ] Thomas Fischer commented on DERBY-142: -------------------------------------- Hm, let's not get too Torque-centric here. If the derby developers decide that the current behaviour of the network driver is correct, that is ok with me, I can see the reasons for it now. I was probably a bit naive when I reported this as a 'bug'. Another thing, if you think it would be helpful to know how other databases interpret the isReadOnly function, I can offer to run Satheesh's test program against some other databases (mysql, postgresql, oracle, firebird, hsqldb). Just let me know. > ResultSetMetaData.isReadOnly() also returns wrong results > --------------------------------------------------------- > > Key: DERBY-142 > URL: http://issues.apache.org/jira/browse/DERBY-142 > Project: Derby > Type: Sub-task > Components: JDBC > Versions: 10.0.2.1 > Environment: Using DB2 universal driver with standalone derby server > Reporter: Thomas Fischer > Attachments: DerbyTest.java, DerbyTest142.java, TorqueTutorial.txt > > ResultSetMetaData.isReadOnly() always returns true, even when writing to the table is possible. > The JDBC 2.0 spec says: "ResultSetMetaData.isReadOnly() : Indicates whether the designated column is definitely not writable.", so the method should return false for a table. > I will attach a testcase for this behaviour. -- 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