Abstract Views are an important functionality provided by the relational database systems. However, commercial object-oriented database systems do not support a view mechanism because defining the semantics of views in the context of an object-oriented model is more difficult than in the relational model. Indeed, views are not included in the ODMG standard. In this paper, we present a proposal aimed at including views in the ODMG, by extending the object model and the object definition language (ODL). We consider object-oriented views as having the same functionality as relational views. Views are included in the object model in such a way that (i) views make a new kind of data type definition, just as are classes, interfaces and literals, (ii) an IS-VIEW relationship is introduced in order to specify the derivation of a view from its base class, and (iii) a view instance preserves the identity of its base instance. A view can import attributes, relationships and operations from its base class, and it can also add new operations, derived attributes and derived relationships. The extent of the view is defined by an object query language (OQL) predicate. We also describe a C++ binding showing the practicability of the proposed model.
[1]
R. G. Cattell.
The object database standard
,
1994
.
[2]
Cassio Souza dos Santos.
Design and Implementation of Object-Oriented Views
,
1995,
DEXA.
[3]
Elke A. Rundensteiner,et al.
The MultiView OODB View System: Design and Implementation
,
1996,
Theory Pract. Object Syst..
[4]
Markus Tresch,et al.
Updatable Views in Object-Oriented Databases
,
1991,
DOOD.
[5]
Elisa Bertino,et al.
A View Mechanism for Object-Oriented Databases
,
1992,
EDBT.
[6]
Won Kim,et al.
On View Support in Object-Oriented Databases Systems
,
1995,
Modern Database Systems.
[7]
Elisa Bertino,et al.
A formal model of views for object-oriented database systems
,
1997
.
[8]
Elisa Bertino,et al.
Extending the ODMG Object Model with Time
,
1998,
ECOOP.
[9]
David J. DeWitt,et al.
Of Objects and Databases: A Decade of Turmoil
,
1996,
VLDB.
[10]
Elisa Bertino,et al.
Extending the ODMG object model with composite objects
,
1998,
OOPSLA '98.