Generation of query and update views for object relational mapping
First Claim
1. A method for providing data services to an application by a data access system, comprising:
- receiving a mapping that associates valid application states corresponding to an application executed by a client computer system with valid database states corresponding to a database in which data for use by said application is stored;
generating a set of query view definitions and a set of update view definitions from said mapping, such that the query views determine the application state from a database state, and the update views determine the database state from the application state;
utilizing said set of query view definitions and said set of update view definitions to persist in said database a data modification produced by said client computer system.
2 Assignments
0 Petitions
Accused Products
Abstract
A data access architecture may includes a mapping architecture for mapping data as may be used by an application to data as persisted in a database. Such a mapping architecture uses two types of “mapping views”—one for translating queries and the other for translating updates. A mechanism is provided that automatically generates query and update views from high-level mapping specifications. A validation may be performed to ensure that a mapping specification, when used in conjunction with a mapping architecture, allows data to “roundtrip” from the application to the database, without loss of data.
156 Citations
20 Claims
-
1. A method for providing data services to an application by a data access system, comprising:
-
receiving a mapping that associates valid application states corresponding to an application executed by a client computer system with valid database states corresponding to a database in which data for use by said application is stored; generating a set of query view definitions and a set of update view definitions from said mapping, such that the query views determine the application state from a database state, and the update views determine the database state from the application state; utilizing said set of query view definitions and said set of update view definitions to persist in said database a data modification produced by said client computer system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A data access system for providing data services to an application, said data access system comprising:
-
a subsystem that receives a mapping that associates valid application states corresponding to an application executed by a client computer system with valid database states corresponding to a database in which data for use by said application is stored; a subsystem that generates a set of query view definitions and a set of update view definitions from said mapping, such that the query views determine the application state from a database state, and the update views determine the database state from the application state; a subsystem that utilizes said set of query view definitions and said set of update view definitions to persist in said database a data modification produced by said client computer system.
-
-
13. A method for providing data services to an application by a data access system, comprising:
-
receiving, by said data access system, a mapping specification, said mapping specification correlating an application schema associated with said application with a database schema associated with a database; verifying, by said data access system, that an update initiated by said application according to said application schema can be; received by said data access system; modified by said data access system utilizing said mapping; and performed by said database without loss of update data; and verifying, by said data access system, that a query subsequently initiated by said application according to said application schema can be; received by said data access system; modified by said data access system utilizing said mapping; performed by said database; and update data returned to said application without loss of said update data; approving subsequent use of said mapping specification by said data access system in providing data services to said application. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification