openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dianne Richards (JIRA)" <j...@apache.org>
Subject [jira] [Work started] (OPENJPA-2207) Problems with numeric column name
Date Thu, 14 Jun 2012 16:01:43 GMT

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

Work on OPENJPA-2207 started by Dianne Richards.

> Problems with numeric column name
> ---------------------------------
>
>                 Key: OPENJPA-2207
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2207
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 1.0.0, 2.2.0
>            Reporter: Dianne Richards
>            Assignee: Dianne Richards
>
> When a numeric column name is specified with a single number (ex: "1"), incorrect sql
is generated. The sql is supposed to have a single set of double quotes around the name. Different
incorrect sql is generated, depending on the release. For JPA 1.0 releases, there are no quotes
(ex: 1). For JPA 2.0 releases, there are 2 sets of double quotes (ex: ""1""). This problem
appears to exist for other DB identifiers also.

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

        

Mime
View raw message