empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Döbele (JIRA) <empire-db-...@incubator.apache.org>
Subject [jira] [Closed] (EMPIREDB-3) Add "useQuote" property to DBColum class so columns with SQL keywords as names get properly "escaped"
Date Mon, 04 Feb 2013 14:00:15 GMT

     [ https://issues.apache.org/jira/browse/EMPIREDB-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rainer Döbele closed EMPIREDB-3.
--------------------------------


Cleanup of unclosed issues.
                
> 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ö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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message