found it in ERXLongPrimaryKeyFactory !

Any advice / experience you would like to share about it ?

- jfv

Le 10-02-12 à 14:22, Jean-Francois Veillette a écrit :


I vaguely remember that someone wrote some code to create primary key based that embed entity name (or something like this) in it.
I want to use it as a foreign key akin to:
Person <->> Link <<-> Contact
where Contact is an abstract entity with sub-entity like "CivicAddress", "Phone number", "URL", "Email", etc. I would like the primary key of contact to 'embed' the entity info, so that there is no need to fetch multiple tables just to find the right one.
Is there a prototype for this ?

I vaguely remember seeing some sample code that does this. But I can't figure out where.
Any pointer to it ?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]
  • Custom Primary key Jean-Francois Veillette
    • Re: Custom Primary key Jean-Francois Veillette

Reply via email to