Bryan Lewis created CAY-1707:
--------------------------------
Summary: Modeler doesn't allow duplicate DbEntity names in
different DataMaps
Key: CAY-1707
URL: https://issues.apache.org/jira/browse/CAY-1707
Project: Cayenne
Issue Type: Bug
Components: Modeler
Affects Versions: 3.0.2
Environment: Mac OSX, Java 1.6 (shouldn't matter)
Reporter: Bryan Lewis
Priority: Minor
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.
--
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