Patent ID: 8266392
Filing Date: 2012-09-11
Classification: G06F

Abstract:
1. A computer-implemented method, comprising: providing a plurality of cache application programming interfaces (APIs) within an object relational mapping (ORM) system for mapping a data object of an object-oriented programming application to a data entry of a relational database, wherein the data object of the object-oriented programming application is incompatible with a format of the relational database, and wherein the object relational mapping system is configured to convert the data object to a structured query language (SQL) query that is specifically tailored to the format of the relational database, wherein the SQL query is transmitted from the ORM system to the relational database as a database transaction for accessing the data entry requested by the data object of the object-oriented programming application; in response to a first cache request received at a first cache API associated with a transaction for updating a data entry of the relational database, storing the updated data of the data entry in a local cache, the local cache being one of a plurality of members of a cache cluster, and sending an invalidation message to remaining members of the cache cluster to invalidate corresponding cache entries of the remaining members; and in response to a second cache request received at a second cache API associated with a transaction for loading data from a data entry of the relational database, storing the loaded data in the local cache without sending an invalidation message to the remaining members of the cache cluster, wherein the first cache API is separated and different from the second cache API.