cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juergen Saar <juer...@jsaar.org>
Subject Re: Table with no sequence
Date Fri, 20 Mar 2009 07:11:40 GMT
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 <hans@welinux.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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message