Re: mandatory reverse relation

From: Jürgen Saar (jsaa..eb.de)
Date: Wed Aug 04 2004 - 07:50:23 EDT

  • Next message: Timothy Fisher: "How do you delete a row from the db?"

    In cayenne 1.0 the relations where published direct
    if the access was not done via ResultIterator.

    In 1.1 there have been put placeholders into the property-map
    but I'm not shure how they work and how far they are initialized.

    Todd O'Bryan <toddobrya..ac.com> schrieb am 03.08.04 20:32:35:
    >
    > Please correct me if I'm wrong, but even though this relationship
    > exists, it's looked up lazily, correct?
    >
    > In other words, if he gets a row from ware, there will be a hook to get
    > all the orders but they won't actually be looked up until and unless he
    > calls the method that asks for them. So, even though there is potential
    > information available that we don't need, as long as we never use the
    > information, there's no performance penalty...
    >
    > Or am I just being overly optimistic?
    >
    > Todd
    >
    > On Aug 3, 2004, at 3:14 AM, Jürgen Saar wrote:
    >
    > > Hi,
    > >
    > > I've got a problem with the fact that reverse relations are mandatory
    > > in cayenne.
    > >
    > > Example:
    > >
    > > There is a 1 to 1 Realationship between OderPosition and wares
    > > When I select a row in my wares, there will be all orders
    > > that deal with this in this ware-object.
    > >
    > > This is not the behavior I would like.
    > >
    > > Any hints ?
    > >
    > > --- Juergen ---

    _______________________________________________________
    WEB.DE Video-Mail - Sagen Sie mehr mit bewegten Bildern
    Informationen unter: http://freemail.web.de/?mc=021199



    This archive was generated by hypermail 2.0.0 : Wed Aug 04 2004 - 07:54:11 EDT