WebObjects/EOF/Using EOF/Compound Primary Keys

From Wikibooks, open books for an open world
< WebObjects‎ | EOF‎ | Using EOF
Jump to navigation Jump to search

Sacha Mallais[edit | edit source]

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).