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 <[email protected]> > 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 >
