首页> 外文会议>International conference on future data and security engineering >OCL2PSQL: An OCL-to-SQL Code-Generator for Model-Driven Engineering
【24h】

OCL2PSQL: An OCL-to-SQL Code-Generator for Model-Driven Engineering

机译:OCL2PSQL:用于模型驱动工程的OCL到SQL代码生成器

获取原文

摘要

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 OCT 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.
机译:对象约束语言(OCL)是一种文本声明性语言,通常用作UML标准的一部分,用于指定模型的约束和查询。过去已经提出了几种尝试,以在模型驱动工程(MDE)的上下文中将OCL表达式转换为SQL查询。为了处理包括迭代器的OCL表达式,以前的尝试使用了SQL的命令性功能(循环,游标),从而导致效率降低。在本文中,我们定义(并实现了)一种从OCT到SQL的新颖映射,该映射涵盖了(可能是嵌套的)迭代器,而无需求助于SQL的强制性,非声明性功能。我们以初步的基准测试表明,我们的映射生成了可以在中型和大型SQL数据库上有效执行的SQL查询。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号