作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2005, Vol. 31 ›› Issue (02): 54-56.

• 论文 • 上一篇    下一篇

在O/R Mapping时保留的Java Collection特性

许彦,曾宇昆,杨卫东,施伯乐   

  1. 复旦大学计算机信息与技术系,复旦大学计算机信息与技术系,复旦大学计算机信息与技术系,复旦大学计算机信息与技术系 上海 200433
  • 发布日期:2005-01-25

Retained Java Collection Characteristic During O/R Mapping

XU Yan,ZENG Yukun,YANG Weidong,SHI Baile   

  1. (Department of Computer Information and Technology,Fudan University,Shanghai 200433)
  • Published:2005-01-25

摘要: 根据国家“863”项目中对复杂对象的存储与建模的研究,一种JavacollectionO/Rmapping的实现方法被提出,该方法可以在mapping的过程中保留collection的特性,并且由于在mapping时整合了collection在Java中的继承层次关系,因此在查询时可以有效分地进行类型转换。

关键词: 持久性对象, 持久性类, 复杂对象, 静态建模, Owner, Content, Collection容器, Concrete类

Abstract: Based on the researching of complex object modeling and storage, a solution of O/R mapping for java collection, which can remain these characteristics when mapping , is introduced. Besides that, by integrating collection container inheritance into the database, it can effectively transform collection container from subclass to superclass when retriving collection from the database.

中图分类号: