empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Reiher (JIRA) <empire-db-...@incubator.apache.org>
Subject [jira] Created: (EMPIREDB-3) Add "useQuote" property to DBColum class so columns with SQL keywords as names get properly "escaped"
Date Tue, 26 Aug 2008 13:35:44 GMT
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
    Affects Versions: empire-db-2.0.3-incubating
            Reporter: Jörg 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 function.

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 surrounded by quotation marks. This
allows the use of "keywords" as column names.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message