Method and apparatus for accessing a relational database without exiting an object-oriented environment
First Claim
1. A method for accessing a relational database outside of an object-oriented environment, without exiting the object-oriented environment comprising:
- receiving a data access message from a requestor object in the object-oriented environment;
selecting a table having a data access routine for retrieving data corresponding to the data access message;
creating a data object in the object-oriented environment for holding data;
sending a command to a data access routine corresponding to the table, wherein the data access routine accesses the relational database;
receiving results of the relational database access from the data access routine;
placing the results in the data object; and
sending the data object to the requestor object.
1 Assignment
0 Petitions
Accused Products
Abstract
The method and apparatus of the present invention permit accessing a relational database outside of an object-oriented environment without exiting the object-oriented environment. A requestor object located in the object-oriented environment sends a data access message requesting data located in a relational database outside of the object-oriented environment. This message is sent to an interface which creates a data object containing instance variables to hold results from the data access request. The interface executes a data access routine and the results are placed into the data object with the results being sent to the requestor object by sending the requestor object a pointer to the data object.
-
Citations
5 Claims
-
1. A method for accessing a relational database outside of an object-oriented environment, without exiting the object-oriented environment comprising:
-
receiving a data access message from a requestor object in the object-oriented environment; selecting a table having a data access routine for retrieving data corresponding to the data access message; creating a data object in the object-oriented environment for holding data; sending a command to a data access routine corresponding to the table, wherein the data access routine accesses the relational database; receiving results of the relational database access from the data access routine; placing the results in the data object; and sending the data object to the requestor object. - View Dependent Claims (2, 3)
-
-
4. A data processing system for accessing a relational database outside of an object-oriented environment, without exiting the object-oriented environment, the data processing system comprising:
-
reception means for receiving a data access message from a requestor object in the object-oriented environment; selection means for selecting a table having a data access routine for retrieving data corresponding to the data access message; creation means for creating a data object in the object-oriented environment for holding data; sending means for sending a command to a data access routine corresponding to the table, wherein the data access routine accesses the relational database; reception means for receiving results of the relational database access from the data access routine; placement means for placing the results in the data object; and means for sending the data object to the requestor object. - View Dependent Claims (5)
-
Specification