Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and apparatus for updating object local attribute to related data bank

A technology of object relationship and local attributes, which is applied in the field of data processing and can solve problems such as system performance impact

Inactive Publication Date: 2007-08-22
山东众友建筑工程有限公司郓城潘渡分公司
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] When an object is passed to the O / R MAPPING tool for persistence, the O / RMAPPING processing tool cannot know which properties of the object should be updated and which should not be updated. Therefore, when only some properties in an object need to be updated, The object must be retrieved or refreshed, which will add an additional query action, which will have a serious impact on system performance

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 and apparatus for updating object local attribute to related data bank
  • Method and apparatus for updating object local attribute to related data bank
  • Method and apparatus for updating object local attribute to related data bank

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0034] With reference to Fig. 1, Fig. 1 is the process flow of the first embodiment of the method for updating object local attributes to a relational database in the present invention, including the following steps:

[0035] Step 101, create an object that needs to update some attributes.

[0036] For example, the object to be updated is "Student", including the following attributes: Student ID, student's name, student's gender, student's class, and student's age. At this point, you need to create an empty object that is the same as the object, that is, the values ​​of the attributes in the object have not been assigned.

[0037] Step 102, assign values ​​to the attributes that need to be updated in the object.

[0038] First, assign a va...

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

This invention discloses a method and a device for updating partial attributes of an object to a relation database including: setting up objects necessary for updating partial attributes, assigning the ID of the object and attribute needing to be updated, converting said object and its attribute information to a script identified by the mapping tool of the object relation database to be used to perdure the information in the script to said relation database. The device includes: an object relation database mapping unit, an object generation unit and an object information converting unit.

Description

technical field [0001] The invention relates to data processing technology, in particular to a method and device for updating local attributes of an object to a relational database in object / relational database mapping. Background technique [0002] O / R-Mapping (object / relational database mapping) integrates object-oriented and relational database mapping transformations, enabling us to enjoy the benefits of object-oriented design when developing database applications. At present, there are many tools and solutions for O / R-MAPPING, such as Hibernate, TopLink, iBatis. Using these tools, the mapping between the data object and the data table in the relational database can be automatically completed, that is, a solution for persisting a data object into the relational database is provided. [0003] In the process of object persistence, sometimes the user only wants to update some properties of the data object. For this requirement, various O / R MAPPING tools in the industry cu...

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 山东众友建筑工程有限公司郓城潘渡分公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products