Method and apparatus for object-oriented access to a relational database management system (RDBMS) based on any arbitrary predicate
First Claim
1. A control system for enabling user access of data records stored in a relational database in an object oriented way comprising:
- a first object model representing a class mapped to a table in the relational database;
a second object model representing a query object modeled after the first object model according to the same modeling framework;
a software parser for reading the information contained in the first and second object models;
a model generator for building a representative model from aggregated information from the first and second models; and
a code generator for scanning the representative model and generating the appropriate application code for each node in the representative model;
characterized in that a user supplies the input parameters for accessing the records desired from the database into a text receptacle of the second object model and executes the model causing subsequent application code-generation processing that drives the access to the records in the ordered manner, the records served as an object or objects to a user program from which such records were retrieved in a fashion requested and interpretable by the user program.
3 Assignments
0 Petitions
Accused Products
Abstract
A control system for enabling user access of data records stored in a relational database in an object oriented way has a first object model representing a class mapped to a table in the relational database, a second object model representing a query object modeled after the first object model according to the same modeling framework, a software parser for reading the information contained in the first and second object models, a model generator for building a representative model from aggregated information from the first and second models, and a code generator for scanning the representative model and generating the appropriate application code for each node in the representative model. The system is characterized in that a user supplies the input parameters for accessing the records desired from the database into a text receptacle of the second object model and executes the model causing subsequent application code-generation processing that drives the access to the records in the ordered manner, the records served as an object or objects to a user program from which such records were retrieved in a fashion requested and interpretable by the user program.
-
Citations
21 Claims
-
1. A control system for enabling user access of data records stored in a relational database in an object oriented way comprising:
-
a first object model representing a class mapped to a table in the relational database;
a second object model representing a query object modeled after the first object model according to the same modeling framework;
a software parser for reading the information contained in the first and second object models;
a model generator for building a representative model from aggregated information from the first and second models; and
a code generator for scanning the representative model and generating the appropriate application code for each node in the representative model;
characterized in that a user supplies the input parameters for accessing the records desired from the database into a text receptacle of the second object model and executes the model causing subsequent application code-generation processing that drives the access to the records in the ordered manner, the records served as an object or objects to a user program from which such records were retrieved in a fashion requested and interpretable by the user program. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A query object for accepting user input and facilitating automated object-oriented database accesses from a relational database comprising;
-
at least one input parameter supplied by a user;
at least one output parameter returned by the query object; and
at least one input instruction for generating method code for database access;
characterized in that the query object manifests itself as a class object with operations in terms of user code generated such that execution of the query generates database access routines ordered by the query according to information of the class. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A method for automatically generating application code for specific database access routines understood at a relational database, the routines called in an object-oriented way comprising steps of:
-
(a) providing a class object of data, the data represented and mapped to a table in the database;
(b) providing a query object that manifests itself as the class object when executed;
(c) supplying text input parameters to the query object, the parameters specifying the type of data and method of retrieval;
(d) building a representative model from data contained in the class object and data contained in the query;
(e) parsing the data from the representative object and generating the correct code for all represented nodes in the object; and
(f) executing the code and returning the specified data from the database to a user interface according to access parameters supplied by the user. - View Dependent Claims (17, 18, 19, 20, 21)
-
Specification