cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Two DataMaps/DataNodes with the same entity/class name
Date Tue, 16 Jun 2009 10:53:32 GMT
You have to place them in different DataDomains and use separate  
contexts to access them. Or call your class UserSomething (which looks  
like a more sensible way to me to resolve a naming conflict).

Andrus

On Jun 16, 2009, at 1:03 PM, Borut BolĨina wrote:

> 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


Mime
View raw message