Generation of query and update views for object relational mapping
First Claim
Patent Images
1. 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;
validating, by said data access system, that said mapping specification permits update data to losslessly roundtrip between said application and said database by;
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 specification; and
performed by said database without loss of said 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 specification;
performed by said database; and
said update data returned to said application without loss of said update data;
upon validating that said mapping specification permits said update data to losslessly roundtrip between said application and said database, approving subsequent use of said mapping specification by said data access system in providing data services to said application.
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.
70 Citations
8 Claims
-
1. 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; validating, by said data access system, that said mapping specification permits update data to losslessly roundtrip between said application and said database by; 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 specification; and performed by said database without loss of said 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 specification; performed by said database; and said update data returned to said application without loss of said update data; upon validating that said mapping specification permits said update data to losslessly roundtrip between said application and said database, approving subsequent use of said mapping specification by said data access system in providing data services to said application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
Specification