Re: How to model Abstract Entities

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Nov 28 2005 - 07:53:35 EST

  • Next message: Bryan Lewis: "Re: How to get result from SELECT count(*) FROM ..."

    On Nov 28, 2005, at 3:38 PM, Dov Rosenberg wrote:

    > It seems that if I do that and the Superclass is not directly tied
    > to a
    > database table the project would show validation errors.

    No, you shouldn't get any errors, but note that the superclass
    shouldn't have its own entity. It is just a regular Java class that
    extends from CayenneDataObject.

    Andrus



    This archive was generated by hypermail 2.0.0 : Mon Nov 28 2005 - 07:53:35 EST