RE: Two DataMaps/DataNodes with the same entity/class name

From: Weddle, Anthony (Anthony.Weddl..luescopesteel.com)
Date: Tue Jun 16 2009 - 15:10:53 EDT

  • Next message: Malcolm Edgar: "Cayenne Fetch Limit behaviour ?"

    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.bolcin..mail.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



    This archive was generated by hypermail 2.0.0 : Tue Jun 16 2009 - 15:11:35 EDT