Skip to main content
Log in

Type-safe relaxing of schema consistency rules for flexible modelling in OODBMS

  • Published:
The VLDB Journal Aims and scope Submit manuscript

Abstract.

Object-oriented databases enforce behavioral schema consistency rules to guarantee type safety, i.e., that no run-time type error can occur. When the schema must evolve, some schema updates may violate these rules. In order to maintain behavioral schema consistency, traditional solutions require significant changes to the types, the type hierarchy and the code of existing methods. Such operations are very expensive in a database context. To ease schema evolution, we propose to support exceptions to the behavioral consistency rules without sacrificing type safety. The basic idea is to detect unsafe statements in a method code at compile-time and check them at run-time. The run-time check is performed by a specific clause that is automatically inserted around unsafe statements. This check clause warns the programmer of the safety problem and lets him provide exception-handling code. Schema updates can therefore be performed with only minor changes to the code of methods.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Edited by Matthias Jarke, Jorge Bocca, Carlo Zaniolo. Received September 15, 1994 / Accepted September 1, 1995

Rights and permissions

Reprints and permissions

About this article

Cite this article

Amiel, E., Bellosta, MJ., Dujardin, E. et al. Type-safe relaxing of schema consistency rules for flexible modelling in OODBMS . The VLDB Journal 5, 133–150 (1996). https://doi.org/10.1007/s007780050020

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s007780050020

Navigation