Re: Table with no sequence

From: Juergen Saar (juerge..saar.org)
Date: Fri Mar 20 2009 - 03:11:40 EDT

  • Next message: Andrus Adamchik: "Fwd: [GSoC 2009] Apache is officially participating in Google Summer of Code 2009"

    I also have such a project ... I think it's pretty easy doing such work with
    cayenne.

    We use the validateForInsert method for generating the PrimaryKey.

    We started development with cayenne 1.x ... since Version 2 there are more
    ways to solve this isssue
    but you know "newer touch ..."

    2009/3/20 <han..elinux.cl>

    > 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 ?
    >
    > Regards
    > Hans
    >



    This archive was generated by hypermail 2.0.0 : Fri Mar 20 2009 - 03:12:25 EDT