Patent ID: 7177878

Claim:
An object oriented method for implementing a persistence mechanism, said persistence mechanism adapted to effectuate data transfer between a software application and a relational database, said method comprising the steps of: identifying homes and relationships, each identified home comprising attributes of a table of the database, each identified relationship having attributes describing an interaction between two homes of said identified homes; providing a datastore that is associated to the database, said datastore including attributes, said attributes of the datastore comprising the attributes of the identified homes and the attributes of the identified relationships; providing a single home class adapted to be instantiated to any one of said identified homes; providing a single relationship class adapted to be instantiated to any one of said identified relationships; generating a query to transfer data between the application and the database, said generating comprising processing a first home of said identified homes, said first home comprising attributes of a first table of the database, said processing the first home comprising instantiating the home class to an instance of the first home by setting attributes of the first home.