期刊文献+

重复存储Java对象解决方案研究

Research on solutions to Java object duplicate storage
下载PDF
导出
摘要 在面向对象的Java应用开发中,经常采用关系数据库作为持久对象的存储机制,由于对象模型与关系模型之间的“阻抗不匹配”问题,以及关系数据库管理系统本身的内部标识生成机制,使得在关系数据库中存储Java对象时,有时会导致重复对象数据的存储。研究对象持久化处理过程,将对象标识生成过程从关系数据库管理系统中分离出来,并独立于应用业务逻辑层的设计,根据这种思想,提出了2种方案来解决Java对象的重复存储问题。 In the development of Java object-oriented application ,relational database is often used as persistent objects storage mechanism. But sometime there are duplicate storage problems because of the impedance mismatch between object model and relational model. The inner identifier generator inside the relational database management system can also lead to the same results. The process of object persistence is studied in this paper. The object identifier generator is separated from the RDBMS and isolated from the application logic layer. Based on this idea, two solutions are presented to deal with the problem of Java object duplicate storage.
出处 《北京机械工业学院学报》 2006年第2期41-45,共5页 Journal of Beijing Institute of Machinery
关键词 持久对象 阻抗不匹配 对象持久化 对象标识 persistent object impedance mismatch object persistence object identifier
  • 相关文献

参考文献8

  • 1Scott W Ambler.Mapping Objects to Relational Databases[EB/OL].2000-10-21[2006-04-17].http://www.AmbySoft.com/MappingObjects.pdf
  • 2David J Gallardo.Java Oracle数据库开发指南[M].北京:清华大学出版社,2003
  • 3Jason Price.Oracle9i JDBC程序设计[M].北京:电子工业出版社,2004
  • 4Joseph W Yoder,Ralph E Johnson,Quince D Wilson.Connecting Business Objects to Relational Databases[EB/OL].1998[2006-04-17].http://www.joeyoder.com/Research/objectmappings/Persista.pdf
  • 5Craig Russell.Java Data Object2.0 JSR243[EB/OL].2006-03-13[2006-04 -17].http://www.jcp.org/aboutJava/communityprocess/pfd/jsr243/index.html
  • 6Gavid King.Hibernate-Relational Persistence for Idiomatic Java Hibernate Reference Documentation2.1.7.[EB/OL].2005-12[2006-04 -17].http://www.hibernate.org.
  • 7田英爱,秦奕青,张志华.持久对象标识的生成方法[J].制造业自动化,2005,27(11):62-65. 被引量:1
  • 8Erich Gamma,Richard Helm,Ralph Johnson,etal.Design Patterns,Elements of Reusable Object-Oriented Software[M].北京:机械工业出版社,2004

二级参考文献4

  • 1KELLER W. Object relational access layer. A Roadmap,Missing Links and more Patterns [EB/OL].http://www.objectarchitects.de/
  • 2GAVINK.HIBERNATE-符合Java习惯的关系数据库持久化Hibernate2参考文档[EB/OL].http://www.hibernate.org.,.
  • 3BRUCES.应用密码学[M].北京:机械工业出版社,2003.307-308.
  • 4王甲民,姚延涛,沈均毅.映射对象到关系数据库[J].计算机应用,2001,21(1):20-21. 被引量:5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部