There's been a number of reports about this problem:
If two DbEntities have the same name, but different schemas, Cayenne raises an exception (where?). We need to investigate this and make sure that Fully Qualified DbEntity name is used consistently throughlut the stack and the modeler.
Another subcase is outlined in
CAY-1707 - 2 DbEntities have the same name, but are mapped to different DataNodes (so the schema might be implicit).