openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Bauer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-528) FK columns which contain reserved workds are renamed incorrectly.
Date Wed, 19 Mar 2008 19:48:25 GMT

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

Jeremy Bauer updated OPENJPA-528:
---------------------------------

    Attachment: OPENJPA-528.patch

Attachment

> FK columns which contain reserved workds are renamed incorrectly.
> -----------------------------------------------------------------
>
>                 Key: OPENJPA-528
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-528
>             Project: OpenJPA
>          Issue Type: Bug
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>         Attachments: OPENJPA-528.patch
>
>
> The check for reserved words in FK column names happens before we append the _ID suffixes.
As a result if a reserved word is found  we end up appending a number to the reserved word
and then appending _ID. 
> Whats worse is that the check for uniqueness also occurs before we append the _ID, which
could lead to other problems down the road.

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