Aljumaily, HarithCuadra Fernández, María DoloresMartínez Fernández, Paloma2010-05-072010-05-072008-12Journal of Systems and Software, 2008, vol. 81, n. 12, p. 2299-23140164-1212https://hdl.handle.net/10016/822116 pages, 10 figures.-- Issue title: "Best papers from the 2007 Australian Software Engineering Conference (ASWEC 2007), Melbourne, Australia, April 10-13, 2007, Australian Software Engineering Conference 2007".Transforming integrity constraints into active rules or triggers for verifying database consistency produces a serious and complex problem related to real time behaviour that must be considered for any implementation. Our main contribution to this work is to provide a complete approach for deriving the active mechanisms for Relational Databases from the specification of the integrity constraints by using OCL. This approach is designed in accordance with the MDA approach which consists of transforming the specified OCL clauses into a class diagram into SQL:2003 standard triggers, then transforming the standard triggers into target DBMS triggers. We believe that developing triggers and plugging them into a given model is insufficient because the behaviour of such triggers is invisible to the developers, and therefore not controllable. For this reason, a DBMS trigger verification model is used in our approach, in order to ensure the termination of trigger execution. Our approach is implemented as an add-in tool in Rational Rose called OCL2Trigger.application/pdfeng© ElsevierIntegrity constraintsModel-Driven ArchitectureCASE toolsActive database systemsOCLSequence diagramsOCL2Trigger: Deriving active mechanisms for relational databases using Model-Driven Architectureresearch articleMatemáticas10.1016/j.jss.2008.04.027open access2299122314Journal of Systems and Software81