C implementation of object relational database mapping
- Author
- JiangYou
- Advisor
- LuoHuiQiong
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 76
- Citations
- 0
Abstract
Along with the development of the computer technology ,we massively use the relational database to manage our informations, and we control these informations with the application program.Now,the Object-Oriented technology is widely used by the programmers.Because the relational database and the object are two kind of completely different technologies, the application programs mismatch the relational database.In order to solving the problem as far as possible, the programmers develop a new technology,which is the object-relation database mapping(O-R Mapping).In the optical transport products of headquarter division of ZTE(Zhongxing Telecommunication Equipment Co., Ltd.) corporation,we manage the informations of the transport devices with the Sybase,which is one of the relational database.The structures of the device informations is very similar,but our products are strong real-time system,so we can’t store the informations with the same table of the database.We must create a table for each device to store the device data in the database.We develop the application program with C++,which is a kind of Object-Oriented language.In order to handle these similar data,we must write many similar codes in our application program.As a result,our codes is very redundant.We are difficult to maintain these programs.In order to solving the problem,we decide to design a O-R Mapping tool .At present,the O-R Mapping tools are developed by pure Object-Oriented language,such as JAVA,SMALLTALK.But,we Must implement this O-R Mapping tool with C++.In this thesis,Associated knowledge about O-R Mapping is introduced firstly,then the design idea and implementation method of the O-R Mapping model with C++ are analyzed in detail.Finally, the test data and the result analysis about the software are given.
Table of contents
Chapter Introduction the 8-12
1.1 OR MAPPING defined 8
1.2 OR MAPPING major role 8-9
1.3 OR MAPPING implementations 9-11
1.4 work 11-12
Chapter II OR MAPPING knowledge 12-18
2.1 J2EE in OR MAPPING two standard 12-13
2.2 OR MAPPING goals to be achieved 13-16
2.3 reflection and introspection 16-17 <br / > 2.4 Summary 17-18
Chapter C language OR MAPPING model 18-31
3.1 design background 18
3.2 OR The nbsp the MAPPING models overall design concept; 18-19
3.3 object - the database mapping between the storage 19-20
3.4 each subsystem modules 20-25
3.5 OR MAPPING model to achieve lasting goals 25-26
3.6, the OR the MAPPING models use a third-party software 26-29
3.7 OR MAPPING model scalability design 29-30
3.8 OR MAPPING model maintainability design 30
3.9 Summary 30-31
Chapter O- R MAPPING model C language 31-45
4.1 XML file loading and parsing subsystem implementation the 31-32
4.2 the MAP mapping subsystem 32-34
the 4.3 reflection subsystems realization the 34-36
4.4 SQL statement structure subsystem implementation 36-39
4.5 user interface subsystem to achieve nbsp 39-40
4.6 database operation interface subsystems realization; nbsp
40 4.7 multi-database type design subsystem implementation;
4.8 O 40-42 -R MAPPING overall timing diagram of the model 42-43
4.9 O-R MAPPING model overall flow chart 43-44
4.10 Summary 44-45 < br /> Chapter O-R MAPPING model testing and analysis 45-62
5.1 test, target 45
5.2 Test Data Source 45 - 46
5.3 test 46
5.4 test results and their analysis the test 46-61
5.5 summarizes 61-62
Chapter VI summarizes the 62-63
Acknowledgements 63-64
Reference 64-
Related dissertations
- Research of Data Exchange Based on XML for Heterogeneous Data
- An Empirical Study on the Performance of Chinese Mutual Funds
- Research on Persistence in Market Timing Ability of Bond Fund Managers
- Accounting Conservatism, Earnings Persistence, and Accruals Anomaly
- Research on Common Persistence in Conditional Variances Theory and Its Application
- Multi-scale Analysis of RMB Exchange Rate Based on Wavelet Theory
- Design and Implementation of the XProc Processor Based on.NET
- Design and Implementation of the XML Document Processing System Based on Xproc
- Research of Web Information Extraction Based on XML
- Research of Information Extraction from Web Documents Based on Tree Automaton
- Research and Application of Information Retrieval Based on XML Document
- Research of Keyword Query Processing on XML Data
- Research on Subtree Results Generation of XML Keyword Search
- Results Diversification for XML Keyword Search Based on Semantics
- Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
- Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
- Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
- Research and Implementation of Keyword Query Technique in a Seamless Intergrated Relation-XML Database System
- The Design and Implementation of WebDAV Service in XML Database
- Research of Heterogeneous Database Integration Based on Web Service and XML