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] Resolved: (EMPIREDB-3) Add "useQuote" property to DBColum class so columns with SQL keywords as names get properly "escaped"
Date Tue, 26 Aug 2008 14:10:44 GMT

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

Jörg 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ö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