首页 | 本学科首页   官方微博 | 高级检索  
     


Type-safe relaxing of schema consistency rulesfor flexible modelling in OODBMS
Authors:Eric Amiel  Marie-Jo Bellosta  Eric Dujardin  Eric Simon
Affiliation:(1) INRIA Rocquencourt, projet RODIN, BP 105, F-78153 Le Chesnay Cedex, France; e-mail: lastname@rodin.inria.fr , FR;(2) Lamsade, Université Paris Dauphine, F-75775 Paris Cedex 16, France; e-mail: bellosta@lamsade.dauphine.fr , FR;(3) NatSoft, Air Center, CH-1214 Geneva, Switzerland , CH
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. Edited by Matthias Jarke, Jorge Bocca, Carlo Zaniolo. Received September 15, 1994 / Accepted September 1, 1995
Keywords:: Object-oriented databases –   Schema evolution –   Type safety –   Covariance –   Contravariance
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号