cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-2402) cdbimport: escape db names that is not valid Java identifiers
Date Fri, 02 Feb 2018 08:27:00 GMT
Nikita Timofeev created CAY-2402:
------------------------------------

             Summary: cdbimport: escape db names that is not valid Java identifiers
                 Key: CAY-2402
                 URL: https://issues.apache.org/jira/browse/CAY-2402
             Project: Cayenne
          Issue Type: Bug
          Components: Non-GUI Tools
    Affects Versions: 4.1.M1, 4.0.B2
            Reporter: Nikita Timofeev
             Fix For: 4.1.M2


Database names starting with numbers are converted as is in Object attribute names.
I.e. name like {{"123name"}} will end as {{<obj-attribute name="123name"/>}}.

It can be fixed by prefixing with {{"_"}} such names.

Also should review other special characters that can be in db names.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message