Re: OO versus RDB

From: Marshall <marshall.spight_at_gmail.com>
Date: 27 Jun 2006 08:17:19 -0700
Message-ID: <1151421439.183074.252590_at_j72g2000cwa.googlegroups.com>


H. S. Lahman wrote:
> Responding to mAsterdam...
>
> > A schema change breaks a query or it doesn't.
> > If it doesn't all is well.
> > If it does you'll have to investigate the code
> > dependent on the query.
>
> It breaks the query, but not the problem solution that needs the data.

This sounds sensible, but isn't. Any schema-change breakage will affect both query and code. If a queried column is deleted, the query will need changing, but also the code has to reconsider what it will do in the absence of the column.

Code cannot escape being coupled to its logical schema.

Marshall Received on Tue Jun 27 2006 - 17:17:19 CEST

Original text of this message