On Mar 22, 2008, at 7:09 PM, Guido Neitzer wrote:
So add a unique constraint on the database level (to be safe) and check for this condition in code (validateForSave) before saving to the database.
Just use a compound primary key like a join entity, both being propagated from the entities in the many-to-many relationship. This applies the desired constraint without needing to actually add an explicit constraint to the DB.
Aloha, Art
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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]
