1

Somewhere i read, that it's possible with Cayenne to have relationships connecting entities from two different DataMaps, just like WebObjects EOModeler. I am not able to create such relationship in Cayenne Modeler 4.0RC1 and 4.1M2 - the target entity dropdown lists only entities from the current map. Any hints?

See screenshot Apache CayenneModeler

  • Did a quick check. DbEntities from other data maps are just there for me in all Modeler versions, including older 3.1.3. Maybe you can provide sample of project.xml file where you see this problem or screenshot of it? – Nikita Aug 01 '18 at 08:30
  • edit: screenshot added. Additional info: all 4 DataMaps created with "Tools - Import EOModel" – t. developer Aug 02 '18 at 09:56

1 Answers1

1

You can create DbRelationship first and use it. In this case you can choose any DbEntity in any DataMap. See this tutorial for details.

Nikita
  • 266
  • 2
  • 7