You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by "Jörg Reiher (JIRA)" <em...@incubator.apache.org> on 2008/08/26 16:10:44 UTC

[jira] Resolved: (EMPIREDB-3) Add "useQuote" property to DBColum class so columns with SQL keywords as names get properly "escaped"

     [ 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.