Incremental Checking of OCL Constraints with Aggregates Through SQL

被引:8
|
作者
Oriol, Xavier [1 ]
Teniente, Ernest [1 ]
机构
[1] Univ Politcn Catalunya BarcelonaTech, Dept Serv & Informat Syst Engn, Barcelona, Spain
来源
CONCEPTUAL MODELING, ER 2015 | 2015年 / 9381卷
关键词
Constraints Checking; SQL; OCL; Aggregates;
D O I
10.1007/978-3-319-25264-3_15
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Valid states of data are those satisfying a set of constraints. Therefore, efficiently checking whether some constraint has been violated after a data update is an important problem in data management. We tackle this problem by incrementally checking OCL constraint violations by means of SQL queries. Given an OCL constraint, we obtain a set of SQL queries that returns the data that violates the constraint. In this way, we can check the validity of the data by checking the emptiness of these queries. The queries that we obtain are incremental since they are only executed when some relevant data update may violate the constraint, and they only examine the data related to the update.
引用
收藏
页码:199 / 213
页数:15
相关论文
共 50 条
  • [21] Checking Concurrent Behavior in UML/OCL Models
    Przigoda, Nils
    Hilken, Christoph
    Wille, Robert
    Peleska, Jan
    Drechsler, Rolf
    2015 ACM/IEEE 18TH INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS), 2015, : 176 - 185
  • [22] OpenIVM: a SQL-to-SQL Compiler for Incremental Computations
    Battiston, Ilaria
    Kathuria, Kriti
    Boncz, Peter
    COMPANION OF THE 2024 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, SIGMOD-COMPANION 2024, 2024, : 516 - 519
  • [23] SQL DOM:: Compile time checking of dynamic SQL statements
    McClure, RA
    Krüger, IH
    ICSE 05: 27TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2005, : 88 - 96
  • [24] Model Checking of CTL-Extended OCL Specifications
    Bill, Robert
    Gabmeyer, Sebastian
    Kaufmann, Petra
    Seidl, Martina
    SOFTWARE LANGUAGE ENGINEERING, SLE 2014, 2014, 8706 : 221 - +
  • [25] Runtime Constraint Checking Approaches for OCL, A Critical Comparison
    Avila, Carmen
    Sarcar, Amritam
    Cheon, Yoonsik
    Yeep, Cesar
    22ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING & KNOWLEDGE ENGINEERING (SEKE 2010), 2010, : 393 - 398
  • [26] A new type checking approach for OCL version 2.0
    Schürr, A
    OBJECT MODELING WITH THE OCL: THE RATIONALE BEHIND THE OBJECT CONSTRAINT LANGUAGE, 2002, 2263 : 21 - 41
  • [27] Translating natural language constraints to OCL
    Bajwa, Imran Sarwar
    Lee, Mark
    Bordbar, Behzad
    JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2012, 24 (02) : 117 - 128
  • [28] Automated Refactoring of OCL Constraints with Search
    Lu, Hong
    Wang, Shuai
    Yue, Tao
    Ali, Shaukat
    Nygard, Jan F.
    PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2018, : 1243 - 1243
  • [29] Structural Model Subtyping with OCL Constraints
    Boronat, Artur
    SLE'17: PROCEEDINGS OF THE 10TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON SOFTWARE LANGUAGE ENGINEERING, 2017, : 194 - 205
  • [30] Validating UML models and OCL constraints
    Richters, M
    Gogolla, M
    UML 2000 - THE UNIFIED MODELING LANGUAGE, PROCEEDINGS: ADVANCING THE STANDARD, 2000, 1939 : 265 - 277