| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: One-To-One Relationships
Marshall wrote:
>> I agree with Chen (and e.g. OO design, which takes it to another extreme)
>> that a notion of entity is natural, unproblematic and well worth having.
>>
>> You apparently disagree. Make me understand why. Be specific.
>
>I know you weren't asking me, but my question about the
>whole entities thing is, what do they buy me?
I stated that in the deleted part: the ability to make statements about them that are independent of their attributes.
>I mean, I already have this concept of "relation" which seems to
>be powerful enough to be considered a foundation for
>more or less all of mathematics. What *new* capability
>is introduced by having a different thing called "entity?"
>
>Why can't I just write down relations?
I stated that in the deleted part: it depends what kind of attribute values you allow in your relations. If you have attribute values that can mention/stand for entities independently of their real-world properties (e.g. surrogate keys), you can. If not, you cannot address Chen's objection: you're going to have to pick definitive key attributes (with values observable in reality) for all of your entities before being able to do anything with them (such as storing them, writing queries involving them).
>If I don't have them fully modeled yet, I don't see how
>the identity question is any issue. I know every relation
>will have *some* key.
[...]
>My end product is a schema for relations. Why don't I just
>model using those? Why not cut out the middle man?
Schema's tend to change over time. If they don't, this whole discussion becomes pretty pointless.
>Marshall
-- ReinierReceived on Mon Dec 03 2007 - 12:05:50 CST
![]() |
![]() |