Re: Clean Object Class Design -- What is it?

From: Carl Rosenberger <carl_at_db4o.com>
Date: Sun, 22 Jul 2001 11:16:46 +0200
Message-ID: <9je5qf$ub6$03$1_at_news.t-online.com>


Bob Badour wrote:
> >Implementations differ among object database systems.
> >Well-designed systems do not expose OIDs.
>
> If OIDs provide the equivalent of logical identity and the system does not
> expose the OID, how do users differentiate among objects with the same
> value?

if(object1 == object2){

}

> >With which product have you been experimenting?
>
> Please respond to the question I posed above. I have asked it before.

I have answered it before.

Again:
Which object databases have you been experimenting with and when? You provide us with so many false statements that you can't possibly know too many object database systems. Please do post a list of the ones that you have used.

> >How does your "mapping objects to columns" (domains) approach take care
 of
> >object identity?
>
> Logically and correctly -- by using candidate keys.

How would those keys be represented in objects? Please give an example.

I have the following class:
class Person{
  String firstName;
  String lastName;
}

How would your "mapping objects to columns" approach tell one "Bob Badour" apart from the other?

Kind regards,
Carl

---
Carl Rosenberger
db4o - database for objects - http://www.db4o.com
Received on Sun Jul 22 2001 - 11:16:46 CEST

Original text of this message