Re: [Modeler] DbEntity:Primery Key:PK Generation Strategy - Is there any option for natural primary key?

From: Michael Gentry (mgentr..asslight.net)
Date: Thu Sep 10 2009 - 10:02:08 EDT

  • Next message: Lucas Holt: "Strange behavior with Cayenne"

    Hi Gilberto,

    If you are creating a brand new database (not reverse engineering an
    existing database), I **strongly** recommend that you do not use
    natural primary keys. There are many reasons to not use natural
    primary keys and only one good one that I can think of (you have an
    existing legacy database you have to support).

    mrg

    On Thu, Sep 10, 2009 at 8:37 AM, gilbertoca<gilbertoc..mail.com> wrote:
    > Oh my God, I've forgot to mention that I modeling[1] and not doing reverse
    > engineer from a existent database.



    This archive was generated by hypermail 2.0.0 : Thu Sep 10 2009 - 10:02:44 EDT