Incremental checking of OCL constraints with aggregates through SQL
Document typeConference report
Rights accessOpen Access
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.
CitationOriol, X., Teniente, E. Incremental checking of OCL constraints with aggregates through SQL. A: International Conference on Conceptual Modeling. "34th International Conference, ER 2015, Stockholm, Sweden, October 19–22, 2015, Proceedings". Estocolm: Springer, 2015, p. 199-213.