Database schema independence
First Claim
1. In an online shopping system that obtains product information from a legacy database having a predefined schema, a method of accessing desired product data from the legacy database, the method comprising:
- associating a plurality of database queries with corresponding query names in a cross-reference;
obtaining a particular database query from the cross-reference that corresponds to a particular one of the query names;
submitting the particular database query to the legacy database from the online shopping system, wherein the legacy database returns a data table having one or more information records relating to different products;
wherein the database queries are formulated to return data tables that are formatted as required by the online shopping system rather than being formatted in accordance with the predefined schema of the legacy database;
processing the returned data table in the online shopping system to obtain the desired product data.
2 Assignments
0 Petitions
Accused Products
Abstract
An application, such as an online merchant system, provides a name for a query stored in a database. The database accesses the query using the name provided by the application. The database next executes the query to produce an access object having the query results. The application then processes the access object to obtain a selected result. Storing queries in the database provides a level of indirection and flexibility enabling applications to access databases without prior knowledge of their schemas. Thus, applications can access data in a wide variety of existing databases having different schemas and data sublanguages. Modification of the database schema does not require corresponding modification or recompilation of the application accessing the database.
182 Citations
21 Claims
-
1. In an online shopping system that obtains product information from a legacy database having a predefined schema, a method of accessing desired product data from the legacy database, the method comprising:
-
associating a plurality of database queries with corresponding query names in a cross-reference; obtaining a particular database query from the cross-reference that corresponds to a particular one of the query names; submitting the particular database query to the legacy database from the online shopping system, wherein the legacy database returns a data table having one or more information records relating to different products; wherein the database queries are formulated to return data tables that are formatted as required by the online shopping system rather than being formatted in accordance with the predefined schema of the legacy database; processing the returned data table in the online shopping system to obtain the desired product data. - View Dependent Claims (2, 3, 4)
-
-
5. A computer-readable storage medium containing instructions that implement an online shopping system, wherein the online shopping system obtains product information from a legacy database having a predefined schema, the instructions being executable by a computer to perform steps comprising:
-
associating a plurality of database queries with corresponding query names in a cross-reference; obtaining a particular database query from the cross-reference that corresponds to a particular one of the query names; submitting the particular database query to the legacy database from the online shopping system, wherein the legacy database returns an access object having a plurality of information records relating to different products; wherein the database queries are formulated to return access objects whose information records are formatted as required by the online shopping system rather than being formatted in accordance with the predefined schema of the legacy database; processing the returned access object in the online shopping system to obtain the desired product data. - View Dependent Claims (6, 7, 8)
-
-
9. An online shopping system comprising:
-
a server computer; a legacy database accessible to the server computer, the legacy database having a predefined schema; a cross-reference that associates a plurality of database queries with corresponding query names; an application program that executes on the server computer to implement the online shopping system and to perform steps comprising; obtaining a particular database query from the cross-reference that corresponds to a particular one of the query names; submitting the particular database query to the legacy database from the online shopping system, wherein the legacy database returns a data table having one or more information records relating to different products; wherein the database queries are formulated to data tables that are formatted as required by the online shopping system rather than being formatted in accordance with the predefined schema of the legacy database; processing the returned data table in the online shopping system to obtain the desired product data. - View Dependent Claims (10, 11, 12)
-
-
13. In an online shopping system that obtains product information from a legacy database having a predefined schema, a method of accessing desired product data from the legacy database, the method comprising:
-
submitting a database query to the legacy database from the online shopping system, wherein the legacy database returns an access object having one or more information records relating to different products; wherein the database query is formulated to return an access object that is formatted as required by the online shopping system rather than being formatted in accordance with the predefined schema of the legacy database, the access object having records and fields; processing the access object in the online shopping system to obtain the desired product data; wherein the processing step comprises indexing the access object with record and field identifiers. - View Dependent Claims (14, 15)
-
-
16. A computer-readable storage medium containing instructions that implement an online shopping system, wherein the online shopping system obtains product information from a legacy database having a predefined schema, the instructions being executable by a computer to perform steps comprising:
-
submitting a database query to the legacy database from the online shopping system, wherein the legacy database returns an access object having one or more information records relating to different products; wherein the database query is formulated to return an access object that is formatted as required by the online shopping system rather than being formatted in accordance with the predefined schema of the legacy database the access object having records and fields; processing the access object in the online shopping system to obtain the desired product data; wherein the processing step comprises indexing the access object with record and field identifiers. - View Dependent Claims (17, 18)
-
-
19. An online shopping system comprising:
-
a server computer; a legacy database accessible to the server computer, the legacy database having a predefined schema; an application program that executes on the server computer to implement the online shopping system and to perform steps comprising; submitting a database query to the legacy database from the online shopping system, wherein the legacy database returns an access object having one or more information records relating to different products; wherein the database query is formulated to return an access object that is formatted as required by the online shopping system rather than being formatted in accordance with the predefined schema of the legacy database, the access object having records and fields; processing the access object in the online shopping system to obtain the desired product data; wherein the processing step comprises indexing the access object with record and field identifiers. - View Dependent Claims (20, 21)
-
Specification