Re: name conflicts in rdbms

From: --CELKO-- <71062.1056_at_compuserve.com>
Date: 2 May 2003 15:16:13 -0700
Message-ID: <c0d87ec0.0305021416.30ee07da_at_posting.google.com>


>> How do I represent OOPL packages and nested classes in an RDBMS? <<

You don't program like that in SQL.

Many years ago, the INCITS H2 Database Standards Committee(nee ANSI X3H2 Database Standards Committee) had a meeting in Rapid City, South Dakota. We had Mount Rushmore and Bjarne Stroustrup as special attractions. Mr. Stroustrup did his slide show about Bell Labs inventing C++ and OO programming for us and we got to ask questions.

One of the questions was how we should put OO stuff into SQL. His answer was that Bells Labs, with all their talent, had tried four different approaches to this problem and come the conclusion that you should not do it. OO was great for programming but deadly for data.

I have watched people try to force OO models into SQL and it falls apart in about a year. Every typo becomes a new attribute or class, queries that would have been so easy in a relational model are now mutli-table monster outer joins, redundancy grows at an exponential rates, constraints are vitually impossible to write so you can kiss data integrity goodbye, etc. Received on Sat May 03 2003 - 00:16:13 CEST

Original text of this message