Sciweavers

ECEASST
2010

MySQL4OCL: A Stored Procedure-Based MySQL Code Generator for OCL

13 years 5 months ago
MySQL4OCL: A Stored Procedure-Based MySQL Code Generator for OCL
In this paper we introduce a MySQL code generator for a significant subset of OCL expressions which is based on the use of stored procedures for mapping OCL iterators. Our code generator is defined recursively over the structure of OCL expressions. We discuss the class of OCL expressions covered by our definition (which includes, possibly nested, iterator expressions) as well as some extensions needed to cover the full OCL language. We also discuss the efficiency of the MySQL code produced by our code generator, and compare it with previous known results on evaluating OCL expressions on medium-large scenarios. We have implemented our code generator in the MySQL4OCL tool.
Marina Egea, Carolina Dania, Manuel Clavel
Added 17 May 2011
Updated 17 May 2011
Type Journal
Year 2010
Where ECEASST
Authors Marina Egea, Carolina Dania, Manuel Clavel
Comments (0)