The Epsilon Solution to the OCL2PSQL Case

Antonio Garcia-Dominguez*

*Corresponding author for this work

Research output: Contribution to journalConference articlepeer-review

Abstract

There have been several attempts to map Object Constraint Language queries to SQL: one of these is the OCL2PSQL mapping proposed by Nguyen and Clavel. In this paper, I describe an implementation of OCL2PSQL using two languages from the Eclipse Epsilon project: 744 lines of ETL code for the model-to-model transformation itself, and 97 lines of EGL code for a model-to-text transformation that produces more readable SQL than the reference version. The solution passes all correctness tests set out in the original framework: the transformation has a median time of 0.93s across all scenarios.

Original languageEnglish
JournalCEUR workshop proceedings
Volume3089
Publication statusPublished - 2022
EventJoint 13th and 14th Tool Transformation Contests, TTC 2020/2021 - Virtual, Bergen, Norway
Duration: 25 Jun 2021 → …

Bibliographical note

© 2021 Copyright for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0).

Keywords

  • Abstract syntax graphs
  • Model transformation
  • OCL
  • SQL

Fingerprint

Dive into the research topics of 'The Epsilon Solution to the OCL2PSQL Case'. Together they form a unique fingerprint.

Cite this