Research on Object-Relation Mapping Model

Author
DingZuoZhi
Advisor
XuRuZhi
School
North China Electric Power University (Beijing)
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2006
Downloads
146
Citations
8

Request the full text

Abstract

As the complexity and scale of the software has grown and expanded , the volume of business data is also growing , and a variety of business systems for the dependence of the relational database is getting stronger . Object-oriented in foreground application software in a wide range of applications , you need a sound mechanism for object-relational mapping ( ORM ) persistent memory object data into a relational database , object-relational mapping commercial software development has become an important part of . In this paper, lasting contradiction between object and relational database storage , research and analysis of several of the more popular object-relational mapping implementation ( Hibernate , JDO , iBatis ) depth study of the methods and mechanisms of object-relational mapping , design and initial realization of a object-relational mapping framework : Lorm . The framework has object-relational mapping function , application developers unified , object-oriented approach to data access objects , without concern for the realization of the underlying relational database , thereby greatly enhancing the efficiency of development . Based Lorm framework for application development is simple and flexible , and supports the SQL language and JDBC standards . Last Lorm framework to design and develop a blog application system .

Table of contents

Abstract 3 ABSTRACT 3-6 Chapter Introduction 6-8 1.1 Background 6 1.2 object-relational mapping research status 6-8 1.2.1 hardcoded in business class 6 1.2.2 in a stored procedure or a separate data class hardcoded 6 1.2.3 Using Container-Managed Entity Bean 6-7 1.2.4 Using object-relational mapping framework 7-8 1.3 thesis, content and significance 8 1.4 This paper is organized 8 Chapter ORM Overview 8-13 2.1 type mapping 9 2.2 inheritance mapping 9-10 2.3 referential integrity 10-11 2.4 transparent persistence 11 2.5 Uniqueness Identification 11-13 Chapter Hibernate framework analysis 13-17 3.1 Hibernate architecture 13 3.2 mapping mechanism 13 -15 3.2.1 simple mapping 13-14 3.2.2 Mapping associations 14 3.2.3 entity object lifecycle 14 - 15 3.3 Advanced Features 15-16 3.3.1 Transaction Manager 15 3.3.2 lazily 15-16 3.3 .3 cache 16 3.3.4 diverse ways to search 16 3.4 programming model 16-17 3.5 Conclusion 17 < br /> Chapter other ORM implementation 17-23 4.1 JDO 17-20 4.1.1 JDO core mechanism 17-19 4.1.2 JDO query 19 4.1.3 JDO cache 19-20 4.1.4 JDO programming model 20 4.1.5 Conclusion 20 4.2 IBATIS 20-23 4.2.1 Basic Operations 21-22 4.2.2 Mapping associations 22 4.2.3 lazily 22 4.2.4 Transaction Manager 22-23 4.2.5 cache management 23 4.2.6 Conclusion 23 Chapter Lorm frame design 23-27 5.1 The basic idea 24-25 5.2 Functional Requirements 25 5.3 Lorm core class design 25-27 Chapter VI Lorm framework to achieve 27-38 6.1 object identifier generation 27-28 6.2 domain object class implementation 28-30 6.3 table structure mapping 30-32 6.4 object CRUD operations 32-33 6.5 class inheritance to achieve 33-35 6.6 Object Query 35-36 6.7 between objects is achieved 36-37 6.8 Object cache management 37-38 Chapter VII application framework based Lorm 38-53 7.1 overall system design 39-41 7.1. a system modeling mode selection 39 7.1.2 System architecture choices 39-40 7.1.3 domain model selection 40-41 7.2 domain object design and implementation 41-42 7.3 system function modules 42-52 7.3.1 establish a database table structure 42 - 43 7.3.2 tectonic domain object classes and domain object management class 43-48 7.3.3 build object-relational mapping 48 7.3.4 write DAO Management Class 48-49 7.3.5 write service layer management class 49-51 7.3.6 write Web-tier components 51-52 7.4 Conclusion 52-53 Chapter Summary and Outlook 53-55 8.1 Work Summary 53-54 8.2 requires further research 54-55 References 55-56 Thanks 56-57 papers published during the study period and participation in research situations 57

Related dissertations

  1. CORBA-based Workflow Management System Design and Implementation
  2. Design and Implementation of J2EE Persistence Tier Based on ORM
    ZhouYun ·East China Normal University ·2007 ·Master's thesis
  3. Research and Realization of Design Pattern for Data-Tier Based on Hibernate
    ZhangShuQuan ·Dalian Maritime University ·2007 ·Master's thesis
  4. Non negative pressure water pump monitoring system design and implementation of SCADA software
  5. Design and Implementation of Object-relational Mapping Freamework for Hybrid Data Store
    ChenCheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  6. Design and application of J2EE persistence layer framework DR-ORM
  7. The Design and Development of Shaanxi Primary and Secondary School Teachers Training Management System
  8. Design and Implementation of Software for Children’s Elementary Painting Education Based on iOS
  9. Object/Relation Mapping Based on XML in Printing Information Management System
  10. Design and Implementation of Grain Purchase and Sale Management Information System Based on Web Framework
    SunZhong ·Hunan University ·2014 ·Master's thesis
  11. Design and Implementation of the Online Net Police System Based on SSH
    ZhuQiang ·Xiamen University ·2014 ·Master's thesis
  12. Research on Network System of Information Distribution and Relative Technology Based on Discrete State Predictor
  13. Design of Visual Force
  14. Electricity Transaction Information Platform Design and Implementation
  15. Research on Software Technology in HVDC Transmission Design Software Package
    LiZhiPeng ·Zhejiang University ·2014 ·Master's thesis
  16. Study on the Design Patterns of Park Tourist Centre in Guangdong Region
    WangJunJun ·Guangzhou University ·2013 ·Master's thesis
  17. Design and Implementation of an ATM Bureau of Communication Navigation Surveillance System
  18. A Study on the Furniture of Sichuan Amdo Tibetan
    LuoYi ·Nanchang University ·2013 ·Master's thesis
  19. Fault diagnosis expert system for UAV flight control system design
  20. The Design and Implementation of Common Logic Layer’s REST API for Virtual Community
    ShenFei ·Nanjing University ·2012 ·Master's thesis