• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Compound Primary Keys and WO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compound Primary Keys and WO


  • Subject: Re: Compound Primary Keys and WO
  • From: Sacha Mallais <email@hidden>
  • Date: Mon, 11 Jul 2005 09:03:26 -0700

On Jul 11, 2005, at 7:29 AM, Sam loy wrote:

I naively defined a model with numerous Compound PKs, only to discover that I loose a lot of cool automagic development by doing so.

My question is this: How do you guys - WO Novices to Experts (Me being a total Newbie) deal with Compound PKs? Do you avoid them like the plague? Is it considered just part of bargain and no big deal (i.e. Setting a delegate to create PKs)? Is it something I will inevitably *have* to deal with and might as well get started?

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


BTW - Thanks to everyone - especially Chuck and Sasha - for all you help so far. I definitely would not even be asking this question if it wasn't for all of your help and advice. I hope someday to be a contributor and help some poor newbie like me! :-) Thank You!

Flattery will get you everywhere ;-)


sacha


-- Sacha Michel Mallais - 400 lb. chimp Global Village Consulting Inc.: http://www.global-village.net/ Choke on that, causality! -- the Professor, "Futurama"

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Compound Primary Keys and WO (From: Sam loy <email@hidden>)

  • Prev by Date: Re: Compound Primary Keys and WO
  • Next by Date: Sending Email
  • Previous by thread: Re: Compound Primary Keys and WO
  • Next by thread: Re: Compound Primary Keys and WO
  • Index(es):
    • Date
    • Thread