Re: Compound PK generation
Ricardo Strausz <[email protected]> Thu, 9 Dec 2004 19:28:22 +0100
| Newsgroups | gmane.comp.web.webobjects.eof |
|---|---|
| Message-ID | <[email protected]> |
Compound keys cannot be assigned automatically by EOF. You have to=20 assign them by hand. see the "saving objects" chapter of the "enterprise objects" book... it=20= should be installed somewhere in your hd. Dino On Dec 9, 2004, at 1:06 PM, Anders Peterson wrote: > Hi, > > I have some entities with compound primary keys. The pk components are=20= > all foreign keys. > > I can't get EOF to generate primary keys for new instances unless I=20 > set the corresponding to-many relationships (leading to the=20 > troublesome entity) to be class attributes. > > This is going to give me a performance problem. Eventually there will=20= > be lots of instances =96 huge to-many arrays. > > I=92m hoping I=92ve missed something. Is the only way to get rid of = the=20 > to-many class attributes to have dedicated primary key columns in=20 > =93all=94 entities? > > /Anders > > _______________________________________________ > EOF mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/eof