System and method for object persistence
First Claim
Patent Images
1. A computer-implemented method for object persistence comprising:
- generating a proxy class, by a persistent manager, based on metadata stored in a relational database;
receiving, by the persistence manager, a request via a proxy object of the proxy class to access member data of the relational database;
accessing the member data from the relational database;
storing, as object aggregates, the member data from the relational database as member data of a persistent object in an internal table of the persistent manager, wherein the object aggregates to enable loading of different parts of the persistent object instead of the entire persistent object;
organizing the member data in the internal table as belonging to a context for load, read, and write transaction;
selecting the member data based on the context of the member data;
directly accessing, by the persistent object, the member data stored in the internal table of the persistent manager, the directly accessed member data belonging to the selected context; and
providing the member data of the persistent object via the proxy object of the proxy class.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the invention are generally directed to a system and method for object persistence. In an embodiment, a proxy object is created based, at least in part, on object metadata stored in an internal data store of a persistence manager. The persistence manager may receive a request to access member data of a persistent object associated with the proxy object. In one embodiment, the persistence manager provides the member data from the proxy object.
31 Citations
34 Claims
-
1. A computer-implemented method for object persistence comprising:
-
generating a proxy class, by a persistent manager, based on metadata stored in a relational database; receiving, by the persistence manager, a request via a proxy object of the proxy class to access member data of the relational database; accessing the member data from the relational database; storing, as object aggregates, the member data from the relational database as member data of a persistent object in an internal table of the persistent manager, wherein the object aggregates to enable loading of different parts of the persistent object instead of the entire persistent object; organizing the member data in the internal table as belonging to a context for load, read, and write transaction; selecting the member data based on the context of the member data; directly accessing, by the persistent object, the member data stored in the internal table of the persistent manager, the directly accessed member data belonging to the selected context; and providing the member data of the persistent object via the proxy object of the proxy class. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. An apparatus comprising:
-
an application to request member data of a persistent object; and a processor and a logic executable thereon to perform the method including; generating a proxy class, by a persistent manager, based on metadata stored in a relational database; receiving, by the persistence manager, a request via a proxy object of the proxy class to access member data of the relational database; accessing the member data from the relational database; storing, as object aggregates, the member data from the relational database as member data of a persistent object in an internal table of the persistent manager, wherein the object aggregates to enable loading of different parts of the persistent object instead of the entire persistent object; organizing the member data in the internal table as belonging to a context for load, read, and write transaction; selecting the member data based on the context of the member data; directly accessing, by the persistent object, the member data stored in the internal table of the persistent manager, the directly accessed member data belonging to the selected context; and providing the member data of the persistent object via the proxy object of the proxy class. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25)
-
-
26. An article of manufacture comprising:
a computer-readable medium having content stored thereon to provide instructions that, when executed, result in an electronic device to perform operations including; generating a proxy class, by a persistent manager, based on metadata stored in a relational database; receiving, by the persistence manager, a request via a proxy object of the proxy class to access member data of the relational database; accessing the member data from the relational database; storing, as object aggregates, the member data from the relational database as member data of a persistent object in an internal table of the persistent manager, wherein the object aggregates to enable loading of different parts of the persistent object instead of the entire persistent object; organizing the member data in the internal table as belonging to a context for load, read, and write transaction; selecting the member data based on the context of the member data; directly accessing, by the persistent object, the member data stored in the internal table of the persistent manager, the directly accessed member data belonging to the selected context; and providing the member data of the persistent object via the proxy object of the proxy class. - View Dependent Claims (27, 28, 29, 30, 31, 32, 33, 34)
Specification