首页> 外国专利> System and method for efficient relational query generation and tuple-to- object translation in an object-relational gateway supporting class inheritance

System and method for efficient relational query generation and tuple-to- object translation in an object-relational gateway supporting class inheritance

机译:在支持类继承的对象关系网关中有效进行关系查询生成和元组到对象转换的系统和方法

摘要

An object-relational database gateway for use in a computing environment having a relational database management system (RDBMS) is disclosed. Object-oriented objects in the computing environment conform to a class inheritance hierarchy defined by an object-oriented schema. The gateway includes a query generator to generate from an object- oriented query a set of relational queries. The object-oriented query identifies one or more target objects of a target class which are desired to be constructed. The set of relational queries, when processed, enable the RDBMS to retrieve tuples required to initialize base attributes of the target objects that are defined by the target class and by any super- classes and sub-classes of the target class. The gateway also includes a tuple-to-object translator to translate the tuples to object-oriented objects consistent with the class inheritance hierarchy.
机译:公开了一种在具有关系数据库管理系统(RDBMS)的计算环境中使用的对象关系数据库网关。计算环境中的面向对象的对象符合由面向对象的架构定义的类继承层次结构。网关包括查询生成器,以从面向对象的查询生成一组关系查询。面向对象的查询标识期望构造的目标类别的一个或多个目标对象。关系查询集经过处理后,使RDBMS能够检索初始化由目标类以及目标类的任何超类和子类定义的目标对象的基本属性所需的元组。网关还包括一个元组到对象的转换器,用于将元组转换为与类继承层次结构一致的面向对象的对象。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号