60 likes | 191 Views
The Clash of the (database) Cultures. Object- oriented. Relational. Two strategies in order to combine the „cultures“: Relational – object-oriented Example: Fastobjects‘ ODBC interface Object – relational Example: SQL 3 or SQL:2003.
E N D
The Clash of the (database) Cultures Object- oriented Relational
Two strategies in order to combine the „cultures“: • Relational – object-oriented • Example: Fastobjects‘ ODBC interface • Object – relational • Example: SQL 3 or SQL:2003
Object-relational databases based on SQL-3 are partwise according to the Manifesto:
Structures table type CREATE TYPE PersonType AS (Name VARCHAR (30), Address VARCHAR (50)) NOT FINAL; Inherited type CREATE TYPE StaffMemberType UNDER PersonType AS (Salary DECIMAL (6)) NOT FINAL; CREATE TABLE StaffMember OF StaffMemberType (REF IS oid SYSTEM GENERATED); For more details see: http://www.objs.com/x3h7/sql3.htm Table definition based on a type; insertion of an OID Examples
(2) Object-oriented database systems offer relational interfaces Example: Fastobjects‘ ODBC interface
FastObjects database FastObjects Engine C++ Application (native API) Access database Object-oriented FastObjects ODBC driver Access Client Relational C++ Application (ODBC API) Access database Access Engine Access ODBC driver Architecture of FastObjects ODBC