Re: Table with no sequence

From: Aristedes Maniatis (ar..sh.com.au)
Date: Thu Mar 19 2009 - 20:46:59 EDT

  • Next message: Juergen Saar: "Re: Table with no sequence"

    On 20/03/2009, at 10:07 AM, han..elinux.cl wrote:

    > Hi,
    >
    > We have a legacy table that have a meaningful primary key, many code
    > depends on it and it's not possible to alter it.
    > We are building new java applications that need to insert in it.
    >
    > We would like to cayenne it and not use any sequence at all for
    > making inserts...
    >
    > ¿ it's possible to do it ?

    Choose "database generated" as your PK generation strategy in the
    modeler.

    Ari

    -------------------------->
    ish
    http://www.ish.com.au
    Level 1, 30 Wilson Street Newtown 2042 Australia
    phone +61 2 9550 5001 fax +61 2 9550 4001
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A



    This archive was generated by hypermail 2.0.0 : Thu Mar 19 2009 - 20:47:40 EDT