Determining query entities for an abstract database from a physical database table
First Claim
1. A computer-implemented method of determining, from a physical database table having one or more fields and stored in a physical database, a set of query entities for a database abstraction model, comprising:
- identifying, from actual fields of the physical database table, a selection of an entity field containing a plurality of values,determining a plurality of unique values within the plurality of values for presentation to a user,identifying a user selection of one or more of the unique values from the plurality of unique valuesgenerating, by operation of one or more computer processors, one or more query entity definitions based on the selected one or more unique values, comprising, for each selected unique value;
determining one or more fields of the physical database table for which a plurality of records containing the selected unique value have data values, wherein records in the plurality of records do not have data values for at least one other field of the physical database table,programmatically populating, in a user interface, the determined one or more fields of the physical database table, wherein the user interface includes an indication, for each of the at least one other fields, that the records in the plurality of records do not have data values for the respective other field,receiving, from the user interface, a user selection of one or more additional fields selected from the at least one other field of the physical database table to include in the respective query entity definition, andreceiving, from the user interface, a user confirmation to create a query entity definition whereby the query entity definition for the selected unique value is generated and contains the determined one or more fields and the selected additional fields, andstoring the generated one or more query entity definitions as one or more objects of the database abstraction model, wherein the database abstraction model logically describes the physical database that includes the physical database table.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the invention provide techniques for determining query entities in physical tables for an abstract database. A query entity may be created to store a particular set of data. The query entity may be defined in terms of the structure of the physical database, such as an SQL statement, used to generate the query entity as needed. The fields included in a given query entities may be determined based on the presence (or absence) of values in the columns of a physical database table. In addition, logical fields having access method which map to the fields included in a query entity may be generated.
20 Citations
24 Claims
-
1. A computer-implemented method of determining, from a physical database table having one or more fields and stored in a physical database, a set of query entities for a database abstraction model, comprising:
-
identifying, from actual fields of the physical database table, a selection of an entity field containing a plurality of values, determining a plurality of unique values within the plurality of values for presentation to a user, identifying a user selection of one or more of the unique values from the plurality of unique values generating, by operation of one or more computer processors, one or more query entity definitions based on the selected one or more unique values, comprising, for each selected unique value; determining one or more fields of the physical database table for which a plurality of records containing the selected unique value have data values, wherein records in the plurality of records do not have data values for at least one other field of the physical database table, programmatically populating, in a user interface, the determined one or more fields of the physical database table, wherein the user interface includes an indication, for each of the at least one other fields, that the records in the plurality of records do not have data values for the respective other field, receiving, from the user interface, a user selection of one or more additional fields selected from the at least one other field of the physical database table to include in the respective query entity definition, and receiving, from the user interface, a user confirmation to create a query entity definition whereby the query entity definition for the selected unique value is generated and contains the determined one or more fields and the selected additional fields, and storing the generated one or more query entity definitions as one or more objects of the database abstraction model, wherein the database abstraction model logically describes the physical database that includes the physical database table. - View Dependent Claims (2, 3, 4, 5, 6, 7, 9)
-
-
8. A computer-readable storage medium containing a program which, when executed, performs an operation for determining, from a physical database table having one or more fields and stored in a physical database, a set of query entities for a database abstraction model, comprising:
-
identifying, from actual fields of the physical database table, a selection of an entity field containing a plurality of values, determining a plurality of unique values within the plurality of values for presentation to a user, identifying a user selection of one or more of the unique values from the plurality of unique values generating, by operation of one or more computer processors, one or more query entity definitions based on the selected one or more unique values, comprising, for each selected unique value; determining one or more fields of the physical database table for which a plurality of records containing the selected unique value have data values, wherein records in the plurality of records do not have data values for at least one other field of the physical database table, programmatically populating, in a user interface, the determined one or more fields of the physical database table, wherein the user interface includes an indication, for each of the at least one other fields, that the records in the plurality of records do not have data values for the respective other field, receiving, from the user interface, a user selection of one or more additional fields selected from the at least one other field of the physical database table to include in the respective query entity definition, and receiving, from the user interface, a user confirmation to create a query entity definition whereby the query entity definition for the selected unique value is generated and contains the determined one or more fields and the selected additional fields, and storing the generated one or more query entity definitions as one or more objects of the database abstraction model, wherein the database abstraction model logically describes the physical database that includes the physical database table. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A system, comprising:
-
a processor; and a memory containing a program which, when executed by the processor, performs an operation for determining, from a physical database table having one or more fields and stored in a physical database, a set of query entities for a database abstraction model, comprising; identifying, from actual fields of the physical database table, a selection of an entity field containing a plurality of values, determining a plurality of unique values within the plurality of values for presentation to a user, identifying a user selection of one or more of the unique values from the plurality of unique values generating one or more query entity definitions based on the selected one or more unique values, comprising, for each selected unique value; determining one or more fields of the physical database table for which a plurality of records containing the selected unique value have data values, wherein records in the plurality of records do not have data values for at least one other field of the physical database table, programmatically populating, in a user interface, the determined one or more fields of the physical database table, wherein the user interface includes an indication, for each of the at least one other fields, that the records in the plurality of records do not have data values for the respective other field, receiving, from the user interface, a user selection of one or more additional fields selected from the at least one other field of the physical database table to include in the respective query entity definition, and receiving, from the user interface, a user confirmation to create a query entity definition whereby the query entity definition for the selected unique value is generated and contains the determined one or more fields and the selected additional fields, and storing the generated one or more query entity definitions as one or more objects of the database abstraction model, wherein the database abstraction model logically describes the physical database that includes the physical database table. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification