Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: OO versus RDB

Re: OO versus RDB

From: topmind <topmind_at_technologist.com>
Date: 29 Jun 2006 09:10:57 -0700
Message-ID: <1151597457.868666.145410@b68g2000cwa.googlegroups.com>

> That is, persistence is something outside the
> realm where objects behave. No behaviour, no objects.

In some views of OOP, the distinction is blurred. is a "getEmployee()" method behavior or data? It might be merely a behavioral wrapper around data, but if the internals are not visible (which encapsulation is sometimes said to do), one does not know. For example, "voteCount()" may actually loop thru all votes to compute the total. Or it may simply grab a value from an existing object or structure. One cannot tell without looking at the internals.

It could be said that OOP provides behavioral interfaces. But this is not necessarily the same as saying objects *are* behavior or require behavior.

-T- Received on Thu Jun 29 2006 - 11:10:57 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US