Re: vertical inheritance by templating

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Jun 17 2005 - 16:01:42 EDT

  • Next message: Mike Kienenberger: "Re: vertical inheritance by templating"

    And of course my approach will not work if a single parent can have more
    than one detail record (of same or different kinds).

    In other words, is there a valid case when a person.person_id can resolve
    to two or more employee.employee_id's?

    Andrus

    > I was coming from the fact that master table and detail tables are all
    > "one-to-one", so they share the same base ID, and when you fetch on
    > master, you'll get the whole hierarchy at once. So in a query on a
    > superclass we won't do an in-memory UNION, but will do an [outer] join
    > instead (actually this will work like current prefetching I think). Does
    > it make sense?
    >



    This archive was generated by hypermail 2.0.0 : Fri Jun 17 2005 - 16:01:43 EDT