Return-Path: Delivered-To: apmail-incubator-empire-db-commits-archive@locus.apache.org Received: (qmail 85829 invoked from network); 26 Aug 2008 14:11:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Aug 2008 14:11:05 -0000 Received: (qmail 81680 invoked by uid 500); 26 Aug 2008 14:11:03 -0000 Delivered-To: apmail-incubator-empire-db-commits-archive@incubator.apache.org Received: (qmail 81666 invoked by uid 500); 26 Aug 2008 14:11:03 -0000 Mailing-List: contact empire-db-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: empire-db-dev@incubator.apache.org Delivered-To: mailing list empire-db-commits@incubator.apache.org Received: (qmail 81655 invoked by uid 99); 26 Aug 2008 14:11:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2008 07:11:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2008 14:10:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 774B1234C1B2 for ; Tue, 26 Aug 2008 07:10:44 -0700 (PDT) Message-ID: <1894911885.1219759844487.JavaMail.jira@brutus> Date: Tue, 26 Aug 2008 07:10:44 -0700 (PDT) From: =?utf-8?Q?J=C3=B6rg_Reiher_=28JIRA=29?= To: empire-db-commits@incubator.apache.org Subject: [jira] Resolved: (EMPIREDB-3) Add "useQuote" property to DBColum class so columns with SQL keywords as names get properly "escaped" In-Reply-To: <337482484.1219757744320.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/EMPIREDB-3?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] J=C3=B6rg Reiher resolved EMPIREDB-3. -------------------------------- Resolution: Fixed Added "useQuotes" property to DBColumn. > Add "useQuote" property to DBColum class so columns with SQL keywords as = names get properly "escaped" > -------------------------------------------------------------------------= ---------------------------- > > Key: EMPIREDB-3 > URL: https://issues.apache.org/jira/browse/EMPIREDB-3 > Project: Empire-DB > Issue Type: Improvement > Components: Core > Affects Versions: empire-db-2.0.3-incubating > Reporter: J=C3=B6rg Reiher > Priority: Minor > Fix For: empire-db-2.0.3-incubating > > > HSQLDB doesn't like "COUNT" as an SQL column name, because it is also a f= unction. > So it would be helpful to add a property "useQuote" to the DBColumn class= so that if set to "true" the column in the generated SQL statement gets su= rrounded by quotation marks. This allows the use of "keywords" as column na= mes. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.