Simple persistence mechanism for server based web applications
First Claim
1. 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.
1 Assignment
0 Petitions
Accused Products
Abstract
An object oriented method and computer system for implementing a persistence mechanism. The persistence mechanism is adapted to effectuate data transfer between a software application and a relational database. The method identifies homes and relationships. Each identified home includes attributes of a table of the database. Each identified relationship has attributes describing a foreign key interaction between two homes of the identified homes. A provided home class is adapted to be instantiated to any of the identified homes. A query to transfer data between the application and the database is generated such that a first home of the identified homes is processed. The first home includes attributes of a first table of the database. The processing of the first home includes an instantiation of the home class to an instance of the first home by setting attributes of the first home.
44 Citations
40 Claims
-
1. 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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A computer system comprising a processor and a computer readable memory unit coupled to the processor, said memory unit containing instructions that when executed by the processor perform 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 computer implemented 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 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. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40)
-
Specification