Method for mapping distributed object to relational database

A mapping method and database technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of poor code readability, error-prone, inconvenient use, etc., to improve access efficiency, prevent chain loading, Use simple effects

Inactive Publication Date: 2016-07-13
SIPPR ENG GROUP
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are still deficiencies in both
The disadvantages of the Hibernate solution are: the mapping between objects and relational databases needs to be realized through complex XML configuration files, which is not convenient to use and prone to errors; the cache processing of objects is not good enough, and the data access efficiency is not high; objects across the Internet are not supported Mapping with relational data
The disadvantages of the LINQ solution are: the syntax format is quite different from the existing object-oriented syntax format, and the readability of the code is poor; the data access efficiency is not high; it does not support the mapping of objects and relational data across the Internet

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for mapping distributed object to relational database
  • Method for mapping distributed object to relational database
  • Method for mapping distributed object to relational database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0010] The present invention will be further described below in conjunction with embodiment.

[0011] The distributed object and relational database mapping method of the present invention provides and manages the metadata mapped between the object in the program and the database, automatically persists the object in the program to the relational database, and makes the object in the program The method of matching the object of the object with the relational database, wherein:

[0012] Distributed objects form components by combining related objects, and the network includes said components;

[0013] Relational databases are mainstream data storage systems for permanently storing data.

[0014] The distributed object and relational database mapping method of the present invention, the object type inherits from the base class defined in the present invention, and the mapping between the object and the relational database can be completed by adding necessary labels; the concept...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for mapping a distributed object to a relational database, which is a method for automatically persisting an object in a program into the relational database and enabling the object in the program to be mutually matched with the relational database by means of providing and managing mapped metadata between the object in the program and the database, wherein the distributed object is combined with related objects for forming a component; a network comprises the component; the relational database is a mainstream data storage system for permanently storing data. The method disclosed by the invention has the advantages that the problem of quickly accessing an oriented object in the relational database is solved, and a cross-network distributed object access method is introduced, so that the difficulty in developing an object-oriented program is reduced, and the program development efficiency and data access speed are improved.

Description

technical field [0001] The invention relates to a method for mapping distributed objects and relational databases. Background technique [0002] In order to keep all kinds of data for a long time and use them continuously, most object-oriented application development will inevitably face the problem of object persistence. Currently, relational databases are the first choice for data storage of most software systems. However, there is a fundamental mismatch between the tabular representation of relational data and the object-oriented representation of applications, which greatly reduces the development efficiency of applications. [0003] Currently, better technical solutions to this problem include Hibernate and LINQ. However, both still have deficiencies. The disadvantages of the Hibernate solution are: the mapping between objects and relational databases needs to be realized through complex XML configuration files, which is not convenient to use and prone to errors; the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 丁金听王小伟张会兵胡俊霞王作飞杨飞刘莹冯卫闯
Owner SIPPR ENG GROUP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products