Font Size: a A A

Analysis And Implementation Of Object/Relation Mapping Technology Based On Relational Database

Posted on:2008-03-30Degree:MasterType:Thesis
Country:ChinaCandidate:J XuFull Text:PDF
GTID:2178360212985010Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Object-oriented technology has been widely used in software engineering processes including software analysis, design, programming and test. Combining object model and relation data model are usually used for most modern soft developments. Their differences of technology result in many problems in development process. The solution is to reasonably map object model to relation data model, as well as Object/Relation Mapping.This dissertation introduces many kinds map strategies from object model to relational data model for different cases, compares and analyses their advantages and disadvantages. This dissertation concerns on the mapping taken between the Class, with its instance, and the tables in RDBMS, compares and analyses the advantages and disadvantages of map strategies. Especially introduces in depth the advantages and applications about the mapping strategies of inheritance and relation in the Object/Relation Mapping.This dissertation introduces Hibernate. Hibernate is an open-source framework that carries out the object relational mapping between Java object and data stored in relational database. It can predigest the operation of database access. This framework has been implemented in Relational Database: operation maintenance system, the system has taken full advantage of it and the development efficiency has been improved evidently.After discussing the mechanism of Object/Relation Mapping, the dissertation investigates some methods of optimizing to Object/Relation Mapping. Then, a new method based on reflection technology was introduced to Object/Relation Mapping technology to reduce the memory consumption. The reflection technology guides the Object/Relation Mapping system to determine whether those fields in a selection are used, and filter the unnecessary fields. An experiment results show that the method is effective and accurate.Finally, this dissertation points out the influence of MDA to the Object/Relation Mapping and the direction of further research.
Keywords/Search Tags:Object/Relation, Mapping, Object-Oriented, Relational Database
PDF Full Text Request
Related items