Method and apparatus for object oriented storage and retrieval of data from a relational database
First Claim
Patent Images
1. In a computer system, a method of storing objects in a relational database, comprising the steps of:
- defining a class of objects that are to be stored in the relational database, the objects of the class having at least one data member;
mapping each data member to at least one column in at least one relational database table; and
creating the at least one relational database table to store the objects of the class.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for accessing a relational database through an object-oriented querying interface are provided. A class of objects that are to be stored in the relational database are defined. One or more relational database tables are created and a mapping is produced that maps each data member of an object to one or more columns in a relational database table. Additionally, object-oriented paradigms like inheritance may be supported and the allocation of storage for array elements may be deferred until necessary.
52 Citations
22 Claims
-
1. In a computer system, a method of storing objects in a relational database, comprising the steps of:
-
defining a class of objects that are to be stored in the relational database, the objects of the class having at least one data member;
mapping each data member to at least one column in at least one relational database table; and
creating the at least one relational database table to store the objects of the class. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. In a computer system, a method of querying a relational database, comprising the steps of:
-
receiving a first query that is object-oriented and specifies information about objects of interest;
instantiating a query container object that comprises a query template based on the first query, an array for any arguments in the template query, and an array for any results in the template query;
utilizing the query container object, translating the first query into a second query in a relational database query language for accessing the specified information about the objects of interest that are stored by a relational database management system;
sending the second query to the relational database management system; and
receiving the specified information about the objects of interest from the relational database management system. - View Dependent Claims (15, 16)
-
-
17. In a computer system, a method of deferring allocation of storage for array elements of objects comprising the steps of:
-
receiving a request to instantiate an object of a class where the class has a definition that specifies a default value for each data member of an array element;
allocating storage space for the object without storage space for an array element if the instantiation request does not specify an initial value for any of the data members of the array element;
receiving a request to modify a data member of the array element;
determining if storage space for the array element has been allocated;
if storage space for the array element has not been allocated, allocating storage space for the array element and initializing each data member of the array element to the specified default value; and
modifying the data member of the array element as specified in the modification request. - View Dependent Claims (18)
-
-
19. A computer system for storing objects in a relational database, comprising:
-
an object-oriented application for receiving a definition of a class of objects that are to be stored in the relational database, the objects being stored in a temporary storage;
a memory for the temporary storage of the objects;
an object server for retrieving the objects from the memory and issuing statements in a relational database query language to store data of the objects; and
a relational database management system for receiving the statements and storing the data of the objects in persistent storage as relational database tables. - View Dependent Claims (20, 21, 22)
-
Specification