首页> 外文会议>International Conference on Objects, Models, Components, Patterns >Representing Uniqueness Constraints in Object-Relational Mapping The Natural Entity Framework
【24h】

Representing Uniqueness Constraints in Object-Relational Mapping The Natural Entity Framework

机译:代表对象关系映射自然实体框架的唯一约束

获取原文
获取外文期刊封面目录资料

摘要

Object-oriented languages model data as transient objects, while relational databases store data persistently using a relational data model. The process of making objects persistent by storing their state as relational tuples is called object-relational mapping (ORM). This process is nuanced and complex as there are many fundamental differences between the relational model and the object model. In this work we address the difficulties in representing entity identity and uniqueness consistently, efficiently, and succinctly in ORM. We introduce the natural entity framework, which: (1) provides a strong concept of value-based persistent object identity; (2) allows the programmer to simultaneously specify natural and surrogate key constraints consistently in the object and relational representations; (3) provides object constructors and initializers that disambiguate the semantics of persistent object creation and retrieval; and (4) automates the mapping of inheritance hierarchies that respect natural key constraints and allows for efficient polymorphic queries and associations.
机译:面向对象的语言模型数据作为瞬态对象,而关系数据库使用关系数据模型持久地存储数据。通过将其状态存储为关系元组来使物体持久的过程称为对象关系映射(ORM)。此过程是对细致的并且复杂,因为关系模型与对象模型之间存在许多基本差异。在这项工作中,我们始终如一,有效,简洁地在ORM中代表实体身份和唯一性的困难。我们介绍了自然实体框架,其中:(1)提供了基于价值的持久对象标识的强大概念; (2)允许程序员同时在对象和关系表示中同时指定自然和代名词的关键约束; (3)提供歧义持久对象创建和检索的语义的对象构造函数和初始化器; (4)自动执行尊重自然关键约束的继承层次结构的映射,并允许有效的多态查询和关联。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号