Compound PK generation
Anders Peterson <[email protected]> Thu, 09 Dec 2004 13:06:57 +0100
| Newsgroups | gmane.comp.web.webobjects.eof |
|---|---|
| Message-ID | <[email protected]> |
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 set=20 the corresponding to-many relationships (leading to the troublesome=20 entity) to be class attributes. This is going to give me a performance problem. Eventually there will be=20 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 =93all=94= =20 entities? /Anders