WebObjects/EOF/Using EOF/Compound Primary Keys

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

[edit] Sacha Mallais

Generally avoid them. However, when you need them you can usually use the Propagate Primary Key feature to avoid having to do anything fancy.

Writing a delegate to generate PKs from the database is not a bid deal (see GVCEOFExtensions for an example of an integer PK caching delegate).