System and method for maintenance and deferred propagation of schema changes to the affected objects in an object oriented database
AssigneeObjectivity, Inc.
InventorsMagdi Morsi, James Rucker
Life of this patent
Estimating the term…
Loading patent…
AssigneeObjectivity, Inc.
InventorsMagdi Morsi, James Rucker
Estimating the term…
A method and system for use with object oriented databases provides schema evolution with deferred propagation of schema changes. The method and system provide a schema that persistently maintains class objects by storing an initial class definition, and shape objects associated with particular class objects and storing subsequent class definitions. The shape objects associated with a particular class object form a shape chain, the last shape object in the shape chain being the current shape object, and maintaining the current class definition. Client objects representing actual instances of data in the database, are instantiated from whichever client object or shape object is current at the time of instantiation, so the all newly created client objects always have the current class definition. Existing client objects, which are those that were created prior to one or more subsequent modifications of the class definition and instantiations of the shape objects in the shape chain of the class, are updated to the current class definition only when they are accessed in the database, thereby providing deferred propagation. Updating such client objects includes copying data members for which there was no change in the definition of the member, and performing type conversion on those data members for which there was a change in the definition of the member.
A schema, embodied in a computer readable medium and defining at least one class of objects in a database, the schema comprising:
A method of evolving a schema of a class in a database, the method comprising the steps of:
A schema for an object oriented database, embodied in a computer readable medium and capable of maintaining a time sequenced plurality of class definitions for each of a plurality of classes, the schema comprising:
Dependencies are inferred from the claim text.