Incremental Checking of OCL Constraints with Aggregates Through SQL

0
66

Authors: Ernest Teniente, Xavier Oriol

Tags: 2015, conceptual modeling

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.

Read the full paper here: https://link.springer.com/chapter/10.1007/978-3-319-25264-3_15