Re: flattened relations on_the_fly

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Jul 15 2005 - 07:37:59 EDT

  • Next message: Dhruti Ramani: "Setting defalu values"

    On Jul 15, 2005, at 3:15 PM, Jürgen Saar wrote:

    > If take an ObjEntity from the EntityResolver and
    > add an ObjRelationShip to this ObjEntity,
    > how long does this information live?

    Until the application restart.

    > I've seen that the cayenne base classes are
    > a kind of singleton that is the base of all cayenne
    > applications, but I'm not really sure about
    > this.

    Yes, Configuration is a singleton by default, though it doesn't have
    to be. But ignore this for a moment. EntityResolvers are local to
    each DataDomain, and the same Configuration can hold multiple
    DataDomains.

    Andrus



    This archive was generated by hypermail 2.0.0 : Fri Jul 15 2005 - 07:38:02 EDT