Integrating relational databases in an object oriented environment
First Claim
1. A method of storing an object in a relational database, said method comprising the steps of:
- selecting at least one class type from an object oriented software system for storage in a table of a relational database, wherein said class type is defined in accordance with a type system of said object oriented software system that includes at least one type system member;
generating class type mapping information, as metadata, to map said class type to a logical relational database table comprising at least one column; and
generating member mapping information, as metadata, to map said at least one type system member of said class type to said at least one column of said logical relational database table corresponding to said class type, wherein said mapping information is independent of an implementation of said class type and independent of an implementation of a relational database.
2 Assignments
0 Petitions
Accused Products
Abstract
A relational mapper supports the storage of objects from an object oriented environment in one or more relational databases. The relational mapper generates tables in a relational data store for abstract class types, and it generates a mapping, in any predetermined relationship, to map at least one member of an object to a table for the class type in the relational data store. The relational mapper maps members of a class type to members of a data source. A storage type map is generated to map the data source members of the data source to columns of the relational database table for the class type. The relational mapper is bidirectional such that the relational mapper maps data from a relational database to create objects in accordance with a type system of an object oriented environment. The relational mapper generates metadata to describe the object such that the object, created from the relational database, is a full fledged object of the object oriented system.
-
Citations
36 Claims
-
1. A method of storing an object in a relational database, said method comprising the steps of:
-
selecting at least one class type from an object oriented software system for storage in a table of a relational database, wherein said class type is defined in accordance with a type system of said object oriented software system that includes at least one type system member; generating class type mapping information, as metadata, to map said class type to a logical relational database table comprising at least one column; and generating member mapping information, as metadata, to map said at least one type system member of said class type to said at least one column of said logical relational database table corresponding to said class type, wherein said mapping information is independent of an implementation of said class type and independent of an implementation of a relational database. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A method for integrating at least one table of a relational database into in an object oriented system, said method comprising the steps of:
-
storing metadata to describe at least one class type and interface registered with said object oriented system; analyzing metadata for a schema of objects; mapping a table from said relational database to a class type and interface based on said metadata; and generating class type and interface definitions for said table in accordance with said mapping, such that said class type and interface definitions permit instantiation of full fledged objects in said object oriented system from tables in said relational database. - View Dependent Claims (17, 18)
-
-
19. A computer readable medium comprising a set of instructions stored therein, which when executed by a computer, causes the computer to perform the steps of:
-
selecting at least one class type from an object oriented software system for storage in a table of a relational database, wherein said class type is defined in accordance with a type system of said object oriented software system that includes at least one type system member; generating class type mapping information, as metadata, to map said class type to a logical relational database table comprising at least one column; and generating member mapping information, as metadata, to map said at least one type system member of said class type to said at least one column of said logical relational database table corresponding to said class type, wherein said mapping information is independent of an implementation of said class type and independent of an implementation of a relational database. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
-
34. A computer readable medium comprising a set of instructions stored therein, which when executed by a computer, causes the computer to perform the steps of:
-
storing metadata to describe all class types registered with said object oriented system; analyzing metadata for a schema of objects; mapping a table from said relational database to a class type and interface based on said metadata; and generating class type and interface definitions for said table in accordance with said mapping, such that said class type and interface definitions permit instantiation of full fledged objects in said object oriented system from tables in said relational database. - View Dependent Claims (35, 36)
-
Specification