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

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Jun 16 2009 - 07:17:04 EDT

  • Next message: Borut Bolčina: "Re: Two DataMaps/DataNodes with the same entity/class name"

    > Isn't this a better scenario?

    It all depends on your app I guess.

    Andrus

    On Jun 16, 2009, at 2:05 PM, Borut Bolčina wrote:

    > OK, I will try to use two different data domains, after all, the
    > databases
    > are completely unrelated. Isn't this a better scenario?
    >
    > -Borut
    >
    > 2009/6/16 Andrus Adamchik <andru..bjectstyle.org>
    >
    >> 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
    >>>
    >>
    >>



    This archive was generated by hypermail 2.0.0 : Tue Jun 16 2009 - 07:17:38 EDT