Patent ID: 7359912
Filing Date: 2008-04-15
Classification: G06F,Y10S

Abstract:
1. A method of creating an entity from a relational database result set, comprising: receiving a query, in terms of entities, for data in the relational database; generating metadata, from the query, indicative of a desired structure of the result set to be returned in response to the query; retrieving the metadata describing a structure of the result set; instantiating entities having entity types based on the metadata and contents of the result set; populating the instantiated entities and storing them on a tangible computer readable storage medium for access by a user based on the metadata and the contents of the result set; wherein instantiating entities comprises: accessing the metadata to determine a data type to instantiate; and instantiating a new instance of an entity of the data type; wherein instantiating comprises: if the data type is an additional entity or entity collection that is not joined, determining whether the additional entity or entity collection is to be returned; and if the additional entity or entity collection is to be returned, generating an additional query to retrieve the additional entity or entity collection from the relational database.