System and method for querying a data source
First Claim
1. A system for querying a data source, comprising:
- a query registry for storing at least one SQL query;
a query processor for receiving a query command in an application, for retrieving an SQL query associated with the query command from the query registry, and for returning results of the query to the query command; and
a data source adapter for accessing the data source, to apply the SQL query associated with the query command and for returning the results of the query to the query processor.
1 Assignment
0 Petitions
Accused Products
Abstract
The present system and associated method are adapted to query a data source. The present system comprises a query registry that stores a plurality of SQL queries, and a query processor that receives a query command from a caller in an application, that retrieves an SQL query associated with the query command from the query registry, and that returns results of the query to the query command. The present system further comprises a data source adapter that accesses the data source to apply the SQL query associated with the query command, and that returns the results of the query to the query processor. The query command maps the results of the query to a data access object of some type and returns it to the caller. The system also comprises a module that gathers user input for each SQL query, and that generates a source code of the query command and the data access object needed to execute the query.
53 Citations
47 Claims
-
1. A system for querying a data source, comprising:
-
a query registry for storing at least one SQL query;
a query processor for receiving a query command in an application, for retrieving an SQL query associated with the query command from the query registry, and for returning results of the query to the query command; and
a data source adapter for accessing the data source, to apply the SQL query associated with the query command and for returning the results of the query to the query processor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A method for querying a data source, comprising:
-
a query processor receiving a query command in an application;
retrieving an SQL query from a query registry, the SQL query being associated with the query command;
accessing the data source via a data source adaptor to apply the SQL query associated with the query command; and
returning results of the SQL query to the query command. - View Dependent Claims (19, 20, 21, 22, 23)
-
-
24. A method of generating code for creating a query command, comprising:
-
accessing a meta-data file that comprises a plurality of predefined parameters for defining a query; and
generating the query command using the predefined parameters in accordance with a predefined rule set. - View Dependent Claims (25, 26, 27, 28, 29, 30)
-
-
31. A system having instruction codes for executing an enterprise framework, comprising:
-
a first set of instruction codes for receiving a query command in an application;
a second set of instruction codes for retrieving an SQL query from a query registry, the SQL query being associated with the query command;
a third set of instruction codes for accessing the data source via a data source adaptor to apply the SQL query associated with the query command; and
a fourth set of instruction codes for returning results of the SQL query to the query command. - View Dependent Claims (32, 33, 34, 35, 36)
-
-
37. A system having instruction codes for defining a transition tool suite, comprising:
-
a first set of instruction codes for accessing a meta-data file, the meta-data file comprising a plurality of predefined parameters for defining a query; and
a second set of instruction codes for generating a query command component using the predefined parameters in accordance with a predefined rule set. - View Dependent Claims (38, 39)
-
-
40. A transition tool suite for facilitating conversion to a system for querying a data source, the system comprising:
-
a query registry for storing at least one SQL query;
a query processor for receiving a query command in an application, for retrieving an SQL query associated with the query command from the query registry, and for returning results of the query to the query command;
a data source adapter for accessing the data source to apply the SQL query associated with the query command and for returning the results of the query to the query processor;
wherein the transition tool suite comprises;
a meta-data file including a plurality of predefined parameters for defining a query; and
a code generation component for generating code in accordance with the parameters in the meta-data file for adding components to the system. - View Dependent Claims (41, 42, 43, 44, 45, 46, 47)
-
Specification