On 27 Apr 2006, at 17:47, Chuck Hill wrote:

That does not make any sense in OO or RDBMS terms. Your database will not allow you to have a FK to two different tables. In OO, you would not want a relationship to two different classes not in an inheritance hierarchy. At the very least your code would be littered with casts and instanceof tests. Ugly.

As a interesting point of fact, I have a customer with a legacy database that does exactly this, so it is possible. Just because it is ugly (and yes, it is) and doesn't make any sense, doesn't mean that a customer won't do it.

But please, don't!

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

This email sent to archive@mail-archive.com

Reply via email to