Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1707

Modeler doesn't allow duplicate DbEntity names in different DataMaps

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.0.2
    • None
    • Modeler
    • None
    • Mac OSX, Java 1.6 (shouldn't matter)

    Description

      As discussed on the user list today... I learned how to include two databases in one domain, thanks to a clue from Michael Gentry. One domain with two DataMap/DataNode pairs. I mistakenly thought all the table names had to be unique because the Modeler wouldn't let me rename one of the DbEntities to the same name as one in the other DataMap. It turned the "DbEntity name" field red and showed a tooltip "There is another entity with the name..."

      It is possible for two tables to have the same name in different DataMaps, as I found out by editing the xml file directly. The edited file worked fine in the Modeler and at runtime.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bryanlewis Bryan Lewis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: