Object-relation mapping system supporting model extension in runtime, and method thereof

An object-relational mapping and model technology, applied in database models, object-oriented databases, instruments, etc., can solve problems affecting the normal operation of commercial systems, time and cost uneconomical, etc., to reduce impact, eliminate outages, reduce cost effect

Inactive Publication Date: 2009-09-30
IBM CN
View PDF0 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to upgrade an ORM system, even small changes require taking the system down, registering new models and migrating data, generating new APIs and upgrading applications, which is uneconomical in time and cost, and Can affect the normal operation of commercial systems, which is sometimes intolerable

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
  • Object-relation mapping system supporting model extension in runtime, and method thereof
  • Object-relation mapping system supporting model extension in runtime, and method thereof
  • Object-relation mapping system supporting model extension in runtime, and method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] It is an object of the present invention to support runtime model extensions for ORM systems. There are many possible extensions or modifications to the object-oriented model, including for example:

[0035] ● Add new attributes to existing classes;

[0036] ● remove attributes from existing classes;

[0037] ● Add new relationships between existing classes;

[0038] ● Delete the relationship between existing classes;

[0039] ●Add new classes

[0040] - Add properties to the new class;

[0041] - Add new relationships between new classes and existing classes;

[0042] ● delete the new class;

[0043] ●Rename operation, which can be realized by adding / deleting operations.

[0044] Of course, it can be understood that the extension or modification of the model is not limited to the types listed above, and it is only illustrated here.

[0045] figure 2 The architecture of an extended ORM system 20 according to one embodiment of the present invention is shown. T...

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 relates to an object-relation mapping system supporting model extension in runtime, and a method thereof. The system comprises a relational-data storage subsystem used for accessing objects in a relational-data format, a tuple storage subsystem used for accessing the objects in a multi-tuple format, and an allocator / assembler used for accessing the original parts and extension parts of the objects to the relational-data storage subsystem and the tuple storage subsystem respectively according to the model information of the objects. Therefore, the object-relation mapping system can support model extension in the runtime without shutting down the system during update or modifying mode and migrating data in a relational database.

Description

technical field [0001] The present invention relates to object-relational mapping (ORM) systems, and in particular, to an object-relational mapping system and method that supports runtime model extensions. Background technique [0002] As object-oriented programming becomes the paradigm for enterprise software development, object-relational mapping (ORM) has become an increasingly popular technique for implementing object persistence. In object-oriented (OO) programming, data management tasks are typically performed by manipulating objects. However, relational databases such as DB2 and Oracle can only store and manipulate relational data, which is organized in tables. Therefore, in order to save the object in the database, the programmer must manually design the relational database schema (schema) of the object and convert the object into a relational record. This may be easier for smaller object models. But in the case of applying a large-scale object model, more and mor...

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): G06F9/44
CPCG06F17/30607G06F9/4435G06F9/4493G06F16/289
Inventor 杨洋谢国彤王晨刘升平曹锋
Owner IBM CN
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