How about renaming both classes? If they are different databases, I assume that they are different kinds of users. So XxxxUser and YyyyUser seems appropriate. Just "User" would be a bit ambiguous, I think.
Tony -----Original Message----- From: Borut Bolčina [mailto:borut.bolc...@gmail.com] Sent: Tuesday, 16 June 2009 10:03 p.m. To: List Cayenne User Subject: Two DataMaps/DataNodes with the same entity/class name Hi, is it somehow possible to have two DomainNodes (2 different independent databases) with the same entity/class name? Both databases have table (entity) "user" and I don't want to rename one class to UserSomething. Regards, Borut NOTICE - This message and any attached files may contain information that is confidential and intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this message in error please notify the sender immediately and delete the message.