[jira] Commented: (CAY-992) Modeler does not escape entity names

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Mon Mar 03 2008 - 07:50:16 EST

  • Next message: Kevin Menard (JIRA): "[jira] Commented: (CAY-995) Generating stored procedures access code"

        [ https://issues.apache.org/cayenne/browse/CAY-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761#action_12761 ]

    Andrus Adamchik commented on CAY-992:
    -------------------------------------

    That helped. Here is a line causing failure:

    <db-relationship name="toBookmarks" source=""bk_calls"" target="bookmarks" toMany="false">

    Will fix it shortly.

    > Modeler does not escape entity names
    > ------------------------------------
    >
    > Key: CAY-992
    > URL: https://issues.apache.org/cayenne/browse/CAY-992
    > Project: Cayenne
    > Issue Type: Bug
    > Components: CayenneModeler GUI
    > Affects Versions: 1.2 [STABLE], 2.0 [STABLE], 3.0
    > Environment: Postgres SQL
    > Reporter: Rares Ispas
    > Assignee: Andrus Adamchik
    > Attachments: DataMapError.zip
    >
    >
    > Postgres SQL requires using commas for case sensitive object names.
    > When such a table or column name contains commas, the Modeler saves them unescaped in the .xml file.
    > For example:
    > <db-entity name=""Users"" schema="...">
    > The result is that the xml file is unreadable.
    > Using &quot; is also not an option, since the second time the schema xml is read, it will be saved again as " instead of &quot;

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Mon Mar 03 2008 - 07:51:26 EST