Back to Search
Start Over
OCL2PSQL: An OCL-to-SQL code-generator for model-driven engineering
- Publication Year :
- 2019
-
Abstract
- The Object Constraint Language (OCL) is a textual, declarative language typically used as part of the UML standard for specifying constraints and queries on models. Several attempts have been proposed in the past for translating OCL expressions into SQL queries in the context of Model Driven Engineering (MDE). To cope with OCL expressions that include iterators, previous attempts resorted to imperative features (loops, cursors) of SQL, with the consequent loss of efficiency. In this paper, we define (and implement) a novel mapping from OCL to SQL that covers (possibly nested) iterators, without resorting to imperative, non-declarative features of SQL. We show with a preliminary benchmark that our mapping generates SQL queries that can be efficiently executed on mid- and large-size SQL databases. 185-203
Details
- Database :
- OAIster
- Notes :
- 2019, English
- Publication Type :
- Electronic Resource
- Accession number :
- edsoai.on1359341806
- Document Type :
- Electronic Resource