Re: horizontal inheritance

From: Mike Kienenberger (mkienen..laska.net)
Date: Mon May 09 2005 - 11:17:31 EDT

  • Next message: Mike Kienenberger: "Re: Unit test coverage"

    "Gentry, Michael (Contractor)" <michael_gentr..anniemae.com> wrote:
    > I'm using vertical inheritance (legacy EOF schema), but it is hackish at
    > best. I have the parent and child tables mapped in Cayenne as separate
    > entities and have a relationship between the two. I always fetch the
    > child (the parent in our case is always abstract) and write cover
    > methods to access the parent's attributes. This makes it look good in
    > code and ognl (tapestry paths), but this approach fails on queries, so I
    > have to be careful.
    >
    > I'm not sure if that is worthy of a page on the wiki ... :-)

    Well, it gives me somewhere to start. :)
    Thanks for the summary.

    -Mike



    This archive was generated by hypermail 2.0.0 : Mon May 09 2005 - 11:15:37 EDT