Design and implementation of object-relational mapping hardware encoding
- Author
- HuangChenLiang
- Advisor
- GaoJianHua
- School
- Shanghai Normal University
- Major
- Communication and Information System
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 70
- Citations
- 4
Abstract
With the development of complexity and scale of modern software, the business data have grown more and more. Many business systems are more dependent on relational database. In according to the wide using of object-oriented method in the front application, there must be a object-relation mapping mechanism to map the objects in the memory to the persistent relational database. So object-relation mapping has been an important part of business softwares. There are three basic solutions of ORM: hard-coding, data layer, robust persistent layer. Many methods can implement these sulutions. All methods have different pros and cons, and should be used in different situations. In this paper, I will forward two hard-coding methods to implement object-relation mapping. Embedded Polymorphic SQL Method(EPS), forwarded in this paper, take full advantage of inheritance of classes to divide long SQL statement. The devided SQL statements will be deployed to nodes of the whole class hierarchy. Call links will be made by polymorphism of OO property to complete various operations of database access in coordination. This method use the thought of OO to improve the reusability of code and reduce the effort of maintainance. Another method, Template Method, use the template method of OO design pattern to implement ORM. This method can also impove the resuability of code and achieve unified mechanism. These two are all methods of effective management of code. In the last of this paper, I will discuss and analyse some design problems encountered in practice. All the examples in this paper are coming from Management Information System of Argus (Shanghai) Textile Chemicals Co., Ltd.
Related dissertations
- Design and application of J2EE persistence layer framework DR-ORM
- The design and implementation of customer - oriented integrated information system
- Financial software reengineering practices in GTSS
- The Design of Purchasing-Selling-Stocking System Base on IoC & ORM Framework
- Non negative pressure water pump monitoring system design and implementation of SCADA software
- Design and Implementation of a Recommender System Framework Based on Collaborative Filtering Algorithm
- Design and Implementation of Object-relational Mapping Freamework for Hybrid Data Store
- Design and Implement of Telematics System Service Center Subsystem
- The Research and Implementation of the College Counselors Skills Competition Training System
- Design and Implementation of Human Resource Management System for MIRLE Company
- The Design and Development of Shaanxi Primary and Secondary School Teachers Training Management System
- The Design and Implementation of Layered Architecture and Design Patterns Based on.NET Platform
- Design and Implement of Office Automation System Based on the the MVC Design Pattern
- The Design and Implementation of Agricultural Distribution Information Management System Based on J2EE
- Design and Implementation of Laboratory Management System Based on Design Pattern
- Study on Life-cycle Management Platform for Science and Technology Project
- Object/Relation Mapping Based on XML in Printing Information Management System
- Design and Implementation of the Online Net Police System Based on SSH
- Design and Implementation of the City Government Office System
- Injection system research and design of HDCP chip key