Re: Rich Client and other J2EE related Qs

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Jul 01 2004 - 13:55:10 EDT

  • Next message: Tore Halset: "postgresql "TABLENAME" versus TABLENAME"

    >>
    >> (4) W have our own id generator, and part of its function is to encode
    >> inheritance heirarchies into the primary key values where necessary.
    >> This prevents having to do a fetch to find the type of a FK before
    >> loading the FK - does Cayenne do the double fetch approach, and if so,
    >> is there a way to make use of the encoding in the ids (someone I knew
    >> did this in EOF several years back). Note: we have the type field as
    >> well (for non FK lookup queries etc).
    >
    > Let me think about this one... I'll try to get back to you on that
    > later..
    >

    As Cayenne supports only flattened relationships, and not the flattened
    attributes (yet), I don't think this issue is relevant, however in general
    custom PK generators are supported. We'll keep in mind this optimization
    when we start doing flattened attributes.

    Andrus



    This archive was generated by hypermail 2.0.0 : Thu Jul 01 2004 - 13:55:11 EDT