Patent ID: 7877390

Claim:
A computer-implemented method for generating a persistent storage system, the method comprising the steps of: receiving as input an entity definition of a persistent storage structure, wherein the entity definition comprises a declaration of an object, one or more properties of the object, and a data type for each property; parsing a logical structure of the declared object from the entity definition by a processor, wherein the logical structure includes hierarchical associations between the properties and the data types; generating automatically, by the processor, the persistent storage structure in a persistent storage medium based on the determined logical structure of the declared object; generating automatically, by the processor, an interface within the persistent storage structure, wherein the interface comprises access object classes that are generated automatically by the processor to enable management of object instance data in the persistent storage structure, wherein each object is associated with a respective access object class for performing methods including a method for deleting the object instance data associated with the respective access object class; generating automatically, by the processor, a database table within the persistent storage structure to store the object instance data, wherein the database table comprises a column for each property of the object and the column includes a counter that is incremented each time the corresponding property is accessed; and generating automatically, by the processor, an index to a property of the object if the counter corresponding to the property exceeds a predefined threshold.