Font Size: a A A

Object And Relational Database Mapping C + + Implementation

Posted on:2007-08-06Degree:MasterType:Thesis
Country:ChinaCandidate:Y JiangFull Text:PDF
GTID:2208360185456030Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:C++ Language, O-R Mapping, Persistence, reflection, XML
PDF Full Text Request
Related items