Nothing Special   »   [go: up one dir, main page]

skip to main content
article
Free access

Object subclass hierarchy in SQL: a simple approach

Published: 01 July 1990 Publication History

Abstract

The object subclass hierarchy is a useful way of modeling property and behavior inheritance. It can be implemented on a relational DBMS using views.

References

[1]
Bitton, D., DeWitt, D.J., and Turbyfill, C. Benchmarking database systems: A systematic approach. In Proceedings of the Ninth International Conference on I4ry Large Data Bases (Florence, Italy, Oct.). IEEE, New Jersey, 1983, pp. 8-19.
[2]
Blaha, M.R., Permerlani, W.J., and Rumbaugh, J.E. Relational database design using an object-oriented methodology. Commun. ACM3i, 4 (Apr. 1988), 414-427.
[3]
Blakeley, j.A., Larson, P., and Tompa, EW. Efficiently updating materialized views. In Proceedings of the International Conference on Management of Data (SIGMOD '86) (Washington, D.C., May 28-30). ACM/SIGMOD, New York, 1986, pp. 61-71.
[4]
Gottlob, G., Paolini, P., and Zicari, R. Properties and update semantics of consistent views. A CM 7?arts. Database Syst. 13, 4 (Dec. 1988), 486-524.
[5]
Hanson, E.N. A performance analysis of view materialization strategies. In Proceedings of the International Conference on Management of Data (SIGMOD '87) (San Francisco, May 27-29). ACM/SIGMOD, New~ork, 1987, pp. 440-43.
[6]
Jacky, J.p., and Kalet, I.J. An object-oriented programming discipline for standard Pascal. Commun. ACM30, 9 (Sept. 1987), 772-776.
[7]
Kung, C:.H. Conceptual modeling in the context of software development. IEEE TSE 15, 10 (Oct. 1989), 1176-1187.
[8]
Kung, C.H. The behavior network model for conceptual information modeling. To be published.
[9]
Lyngbaek, P., and Vianu, V. Mapping a semantic database model to the relational model. In Proceedings of the International Conference on Management of Data (SIGMOD '87) (San Francisco, May 27-29). ACM/SIGMOD, New York, 1987, pp. 132-142.
[10]
Stonebraker, M., Wong, E., Preps, P., and Held, G. The design and implementation of INGRES. ACM 7?ans. Database Syst. 1, 3 (Sept. 1976), 189-222.
[11]
Teorey, T.J., Yang, D., and Fry, J.P. A logical design methodology for relational databases: The extended entity-relationship model. ACM Comput Surv. 18, 2 (June 1986), 197-222.
[12]
Tsur, S., and Zaniolo, C. An implementation of GEM--Supporting a semantic data model on a relational back-end. In Proceedings of the International Conference on Management of Data (SIGMOD '84) (Boston, June 18-21). ACM/ SIGMOD, New York, 1984, pp. 286-295.
[13]
Vianu, V. A dynamic framework for object projection views. ACM 2?ans. Database $yst. 13, 1 (Mar. 1988), 1-22.

Cited By

View all
  • (2012)Modelling Languages: Perspectives and Abstraction MechanismsModel-Based Development and Evolution of Information Systems10.1007/978-1-4471-2936-3_3(89-204)Online publication date: 6-Apr-2012
  • (2007)Foreign Superkeys and Constant References11th International Database Engineering and Applications Symposium (IDEAS 2007)10.1109/IDEAS.2007.4318099(149-153)Online publication date: Sep-2007
  • (2005)The Effects on End-User Query Performance of Incorporating Object-Oriented Abstractions in Database Accounting SystemsJournal of Information Systems10.2308/jis.2005.19.1.4319:1(43-74)Online publication date: 1-Mar-2005
  • Show More Cited By

Recommendations

Reviews

Marcos P. Sivitanides

The object subclass hierarchy (OSH) notion is a useful way of specifying property and behavior inheritance in a data model; for example, we can state that, since every student is also a person, the STUDENT object is a subclass of the PERSON object. This paper provides principles, guidelines, and examples of how to model and implement the OSH using SQL views on a relational database management system (RDBMS). In the relational approach, since data about a subclass can be distributed among several base tables, retrieval of subclass data involves joining base tables as well as adherence to subclass inclusion constraints. To address these concerns, the author describes how the view creation mechanism of RDBMSs can be used to specify SQL join views of the base tables that represent the OSH. The author points out that this idea could also be applied to other modeling approaches (this paper focuses only on using SQL views to represent the object subclass). Kung's approach consists of first designing the conceptual data model for the application at hand and, after verification, implementing it on an RDBMS. Subsequently, the user identifies all subclass relationships (there are four types) and, based on transformation rules the author gives, implements the OSH by executing SQL CREATE VIEW statements against the base tables. The traditional problems with view updates remain the same with this approach. The author points out, however, that since the defined views are joins over primary keys of underlying base tables, updates are not difficult; he presents rules and guidelines for appropriately modifying insertion, deletion, and updating queries in order to support the OSH representation by views and to maintain the integrity of the database when these operations occur. Performance issues are addressed by promptly indexing the join and other necessary attributes. I found this paper interesting and conceptually appealing. It presents concrete ideas and examples of how to apply current RDBMS technology to implement some concepts from the object-oriented paradigm. It can be a useful reference for all students and practitioners of database design.

Access critical reviews of Computing literature here

Become a reviewer for Computing Reviews.

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Communications of the ACM
Communications of the ACM  Volume 33, Issue 7
July 1990
114 pages
ISSN:0001-0782
EISSN:1557-7317
DOI:10.1145/79204
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 July 1990
Published in CACM Volume 33, Issue 7

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. inclusion constraints
  2. normal forms
  3. object-oriented
  4. query processing
  5. relational databases

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)180
  • Downloads (Last 6 weeks)22
Reflects downloads up to 27 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2012)Modelling Languages: Perspectives and Abstraction MechanismsModel-Based Development and Evolution of Information Systems10.1007/978-1-4471-2936-3_3(89-204)Online publication date: 6-Apr-2012
  • (2007)Foreign Superkeys and Constant References11th International Database Engineering and Applications Symposium (IDEAS 2007)10.1109/IDEAS.2007.4318099(149-153)Online publication date: Sep-2007
  • (2005)The Effects on End-User Query Performance of Incorporating Object-Oriented Abstractions in Database Accounting SystemsJournal of Information Systems10.2308/jis.2005.19.1.4319:1(43-74)Online publication date: 1-Mar-2005
  • (2002)The Natural Language Modeling ProcedureProceedings of the 5th International Workshop on Next Generation Information Technologies and Systems10.5555/646412.692557(123-146)Online publication date: 24-Jun-2002
  • (2002)The Natural Language Modeling ProcedureNext Generation Information Technologies and Systems10.1007/3-540-45431-4_10(123-146)Online publication date: 21-Jun-2002
  • (1999)An Object-Oriented Formal Model for Software Project ManagementProceedings of the Sixth Asia Pacific Software Engineering Conference10.5555/518898.785727Online publication date: 7-Dec-1999
  • (1999)An object-oriented formal model for software project managementProceedings Sixth Asia Pacific Software Engineering Conference (ASPEC'99) (Cat. No.PR00509)10.1109/APSEC.1999.809649(552-559)Online publication date: 1999
  • (1999)A survey of load sharing in networks of workstationsDistributed Systems Engineering10.1088/0967-1846/1/2/0031:2(75-86)Online publication date: 1-Jan-1999
  • (1996)Object-oriented specification and formal verification of real-time systemsAnnals of Software Engineering10.1007/BF020638092:1(161-198)Online publication date: Dec-1996
  • (1995)Towards a real-time object-oriented modeling approachProceedings of the 1995 conference of the Centre for Advanced Studies on Collaborative research10.5555/781915.781957Online publication date: 7-Nov-1995
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Full Access

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media