Re: Meaningful Primary Keys

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Jun 11 2004 - 15:05:22 EDT

  • Next message: Sherban Popescu: "cannot load jdbc driver named 'org.gjt.mm.mysqlDriver'"

    On Jun 11, 2004, at 3:00 PM, McDaniel, Joe R. wrote:

    > I am pretty sure this was covered somewhere in the archives, but I
    > could not find a "cookbook" answer -- is there some easy way to
    > achieve "meaningful primary keys" for reverse engineering a Sybase
    > database using Cayenne 1.1 (or 1.0)?  While it might be "wrong" to
    > have these, it is reality.
    >  
    > Best,
    >  
    > Joe

    Hi Joe,

    Cayenne framework fully supports meaningful PKs, but reverse
    engineering doesn't have this as an option. Solution - after reverse
    engineering is done, add ObjAttributes for PK DbAttributes to all
    affected entities using the modeler.

    Andrus



    This archive was generated by hypermail 2.0.0 : Fri Jun 11 2004 - 15:05:27 EDT