Research on Mapping between Object-oriented Model and Relational Data Model

Author
YinShanHua
Advisor
WangJiaYang
School
Central South University
Major
Applied Computer Technology
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2007
Downloads
107
Citations
6

Request the full text

Abstract

The mode of object-oriented development is widely used in the current software project development. There are two strategies in the object-oriented database application development, namely based on object-oriented database development and based on relational database development. Because object-oriented database technology is not yet mature, the strategy based on relational database is mostly used in the actual development.The "impedance mismatch" problem which exists between the relational database and the object-oriented development technology can be solved by the establishment of object persistence layer. The object persistence layer realizes the mapping between the relational database and the object-oriented development technology, so that the data in the application procedure and the data in the database are isolated. The maintenance and the probability of system are enhanced.The theory basis of ORM (Object/Relation Mapping) is studied in detail, including the basic concept of object-relation mapping, the mapping of object inheritance structure, and the mapping between object and relation of one-to-one, one-to-many, many-to-many.The system framework of object persistence technology is proposed and analyzed in this thesis, also a persistence layer (named YFLayer) is realized. The design and implementation of YFLayer are described in this thesis. The idea of memory mirror which improves and upgrades the system performance is presented. The realization of the persistence layer deeps the idea of software hierarchical structure, improves the efficiency of the system development, and enhances the portability and scalability of the system.To facilitate the use of the object persistence layer and automatically generate code, the design of the code generator for YFLayer is also described in this thesis.

Table of contents

Abstract 4-5 ABSTRACT 5-8 first chapter 8-16 1.1 topics background 8-12 1.2 Research Significance 12-13 1.3 thesis content and structure 13-14 1.4 This chapter Summary 14-16 object-relational mapping 16-28 2.1 basic mapping concept 16-18 2.2 inheritance structure mapping 18-23 2.2.1 entire class hierarchy mapping for a single data table 19-20 2.2.2 each specific subclass are mapped into a single data table 20-21 2.2.3 for each class are mapped into a single data table 21-22 the 2.2.4 mapping strategies between relatively 22-23 2.3 mapping object 23-25 2.3.1 type of relationship 23-24 2.3.2 relationships between objects 24-25 2.3.3 relational database 25 2.4 implementation object - relational mapping 25-27 2.4.1 one-to-one mapping 25-26 2.4.2-to-many mapping 26 2.4.3-to-many mapping 26-27 2.5 This chapter Summary 27-28 object persistence layer design and Implementation 28-49 3.1 object persistence framework Introduction 28-33 3.1.1 application service layer design 30-31 3.1.2 data entities said 31 3.1.3 data access 31-32 the 3.1.4 business logic processing 32-33 3.1.5 business services provider 33 3.2 overall design 33-35 3.3 concrete realization of object persistence layer 35-48 the a 3.3.1 persistent object entity designed 35-37 3.3.2 object entity batch design 37-40 3.3.3 mapping design 40-42 3.3.4 lasting framework for caching Design and Implementation 42-43 3.3.5 Transaction Design 43-44 3.3.6 persistent agent design 44-45 the of 3.3.7 database storage mechanism design 45-46 3.3.8 lazy loading (Lazy Load) 46-48 3.4 This chapter Summary 48-49 code generator design and achieve 49-57 4.1 Code Generator Design Overview 49 4.2 specific code generator to achieve 49-56 4.2.1 Database connection information 50-51 4.2.2 loaded database of all table 51-53 4.2.3 the to generate persistence layer configuration file 53-55 4.2.4 generates entity objects 55-56 4.3 This chapter Summary 56-57 Chapter Summary and Outlook 57-59 5.1 summarizes 57-58 5.2 Looking 58-59 the References 59-63 Acknowledgements 63-64 studying for a master's degree during the thesis 64

Related dissertations

  1. Design and Implementation of Toll Management System in Heating Companies
    LiJian ·Northeastern University ·2011 ·Master's thesis
  2. Design and Implementation of a Project Management System Based on SOA
  3. Research of Object/relational Mapping (ORM) and Some Implementation Based on C#.NET
    ZhongYun ·Shanghai Maritime University ·2006 ·Master's thesis
  4. Based on object - relational mapping technology to solve the problem of persistent Java environment research
  5. The Design and Analysis for the Data Mapping Tool Based on ORM
    ZhaoFeng ·Shandong University ·2008 ·Master's thesis
  6. ORM-based research and design of the data persistence layer
    ZhangHongLiang ·Qufu Normal University ·2009 ·Master's thesis
  7. Non negative pressure water pump monitoring system design and implementation of SCADA software
  8. Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
    KongJie ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. The Design and Implementation of Website Construction Based on OpenCms Technology
  10. Research on SPARQL Query Over Relational Databases Based on SQL Convertion
    ZhangLiLi ·Northeastern University ·2011 ·Master's thesis
  11. Research on Semantic Keyword Query Over Relational Databases
    DiJianZhao ·Northeastern University ·2011 ·Master's thesis
  12. Design and Implementation of Object-relational Mapping Freamework for Hybrid Data Store
    ChenCheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  13. Research on Semantic Correctness Oriented Integrated Data Access
  14. Storing Large Scale Semi-structured and Unstructured Data on RDBMS
  15. Transparent Query Rewriting for Unstructured Data Stored in RDBMS
  16. Research of Ontology Based Semantic Query System of Relational Database for Port
    MaJingJing ·Beijing Jiaotong University ·2014 ·Master's thesis
  17. Design and Implementation of Materials Management System of Multi-level Educational Institutions
    PeiZhiChao ·Northeastern University ·2013 ·Master's thesis
  18. Design and application of J2EE persistence layer framework DR-ORM
  19. Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
    MaShiTao ·Shandong University ·2013 ·Master's thesis
  20. The Design and Implementation of Sinopec Sales Co.,Ltd Personnel Management System
    LinYan ·Dalian University of Technology ·2013 ·Master's thesis