[forge-issues] [JBoss JIRA] (FORGE-125) Field/Entity plugins should warn when using potential SQL tokens an entity names or field names
George Gastaldi (JIRA)
jira-events at lists.jboss.org
Thu Nov 8 13:50:18 EST 2012
[ https://issues.jboss.org/browse/FORGE-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732923#comment-12732923 ]
George Gastaldi commented on FORGE-125:
---------------------------------------
I think in this case, the JPA provider uses double quotes around the column names, but it may be an impl specific feature.
> Field/Entity plugins should warn when using potential SQL tokens an entity names or field names
> -----------------------------------------------------------------------------------------------
>
> Key: FORGE-125
> URL: https://issues.jboss.org/browse/FORGE-125
> Project: Forge
> Issue Type: Enhancement
> Components: Builtin Plugins, Java EE APIs
> Affects Versions: 1.0.0.Beta2
> Reporter: Lincoln Baxter III
> Fix For: 1.1.2.Final
>
>
> It's currently possible to easily create an entity or field that will break JPA because of usage of SQL reserved words.
> E.g: "order" or "limit"
--
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
More information about the forge-issues
mailing list