Font Size: a A A

Design And Application Of Object Persistence Framework Based On Object Relation Mapping

Posted on:2009-04-01Degree:MasterType:Thesis
Country:ChinaCandidate:L HeFull Text:PDF
GTID:2178360272963288Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Object-oriented thinking has been widely adopted, the design of large-scale applications using object-oriented technology mostly. Currently the widely used database is relational database. Object-oriented technology and relational database is based on the object model and the relational model. This gave rise to the question: the object model and the relational model do not match. Persistent object technology, that is Object/Relational Mapping theory, is to solve this question.In practical application, especially large application system, we not only need to make the objects in the memory storage into the database, and do increase, deletion, modification, and other business, but also have to make the data in the database reload to the memory to satisfy the users operating on the various needs of data. Such frequent visits database affet the performance, making the operation slow or consumption of large amounts of memory. At the same time increased the complexity of the application system, and is not conducive to a lasting re-used in other systems.Aim at the above-mentioned problems when using the persistent object in the database.Designed an independent object persistence framework——ORMPlatform to do the Object/Relational Mapping. Under the support of the object persistence layer framework, business layer module in accordance with the object-oriented data modeling, can make the data model and to complet the object data persistence. Object persistence layer framework based on common database, not bundled in a particular relational database products. Object persistence layer provide a mechanism in common use to persistent object relational database, be re-assured for different applications.This paper mainly for the following work:(1) Analysis of the object/relational mapping theory. A detailed exposition of the relational model, object model and the basic concepts of object/relational mapping theory, object persistence model for the design of a theoretical basis(2) After detailed explanation of the basic concepts of object-oriented, desiged a simple ORM, and made a sample to illustrate the basic principles.(3) Explan the analysis and design of the persistence framework detailedly, centering on the advantages and disadvantages of O/R Mapping, focus on a common object/relational mapping DataSet in the design and realization, and describes the main function of the framework.
Keywords/Search Tags:Persistence, Relational Model, Relational Database, Object/Relational Mapping
PDF Full Text Request
Related items