db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Vandahl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TORQUE-203) Quote table names in creation
Date Mon, 14 May 2012 16:45:50 GMT

    [ https://issues.apache.org/jira/browse/TORQUE-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274733#comment-13274733
] 

Thomas Vandahl commented on TORQUE-203:
---------------------------------------

Maybe this issue should be generalized a bit. Is it actually doable to keep a list of reserved
words for each supported DBMS? We regularly run into the problem that identifiers that are
perfectly legal in MySQL cause Oracle to barf. I don't think that quoting is a good solution
unless it is provided at all places in the generator and the runtime. As an alternative, the
generator could issue a warning like "identifier is a reserved word for Oracle". WDYT?
                
> Quote table names in creation
> -----------------------------
>
>                 Key: TORQUE-203
>                 URL: https://issues.apache.org/jira/browse/TORQUE-203
>             Project: Torque
>          Issue Type: Improvement
>            Reporter: Thomas Fox
>
> For some databases, table names can be quoted in the sql create scripts to avoid collisions
with predefined names. Where possible, such quotation should be used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message