首页> 外国专利> A method of mapping a relational database schema to an object oriented schema to have a co-existing relational database

A method of mapping a relational database schema to an object oriented schema to have a co-existing relational database

机译:一种将关系数据库模式映射到面向对象的模式以具有共存关系数据库的方法

摘要

A method of mapping a relational database schema to an object oriented schema to allow co-existence of the relational database with an object database comprises: (a) extracting the schema data from the relational database, including database tables, columns, special columns, primary keys, foreign keys, indexes and stored procedures and parameters; (b) enhancing the relational database schema by (i) mapping tables to classes, (ii) mapping columns to attributes, (iii) defining classes of set, array and dictionary collections based on primary key and index data, (iv) establishing relationships from the primary keys, foreign keys and columns having the same names and (v) defining relationship implementation based on heuristics by using the cardinality of the tables to define the cardinality of the relationship between the corresponding classes; (c) generating structural query language (SQL) code fragments to support collection operations from the information derived in step (b) and storing same for run-time access to the relational database and (d) storing in the object database a description of the classes and collections established in step (b) for use in runtime by an object oriented application whenever access to data in the relational database is required.
机译:一种将关系数据库模式映射到面向对象的模式以允许关系数据库与对象数据库共存的方法,包括:(a)从关系数据库中提取模式数据,包括数据库表,列,特殊列,主数据库键,外键,索引以及存储过程和参数; (b)通过(i)将表映射到类,(ii)将列映射到属性,(iii)基于主键和索引数据定义集合,数组和字典集合的类,(iv)建立关系来增强关系数据库模式从主键,外键和具有相同名称的列中,以及(v)通过使用表的基数定义相应类之间关系的基数,基于启发式定义关系实现; (c)生成结构化查询语言(SQL)代码片段以支持从步骤(b)中导出的信息进行收集操作,并将其存储以用于运行时访问关系数据库,以及(d)在对象数据库中存储该对象的描述在步骤(b)中建立的类和集合,以便在需要访问关系数据库中的数据时由面向对象的应用程序在运行时使用。

著录项

  • 公开/公告号NZ503238A

    专利类型

  • 公开/公告日2002-09-27

    原文格式PDF

  • 申请/专利权人 AORAKI CORPORATION LIMITED;

    申请/专利号NZ19980503238

  • 发明设计人 MCCOLL HUGH;

    申请日1998-08-14

  • 分类号G06F17/30;

  • 国家 NZ

  • 入库时间 2022-08-22 00:43:59

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号