Compiling Mappings to Bridge Applications and Databases Melnik, Adya and Research.

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

Michael Pizzo Software Architect Data Programmability Microsoft Corporation.
Manajemen Basis Data Pertemuan Matakuliah: M0264/Manajemen Basis Data Tahun: 2008.
.NET Database Technologies: Open-Source Frameworks.
05 | Data Access with Entity Framework Bruno Terkaly | Technical Evangelist Bret Stateham | Technical Evangelist.
Automatic Data Ramon Lawrence University of Manitoba
CIS607, Fall 2005 Semantic Information Integration Article Name: Clio Grows Up: From Research Prototype to Industrial Tool Name: DH(Dong Hwi) kwak Date:
Session-01. Hibernate Framework ? Why we use Hibernate ?
Soror SAHRI SD-SQL Server: a Scalable Distributed Database.
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
Overview of Database Access in.Net Josh Bowen CIS 764-FS2008.
Module 17 Storing XML Data in SQL Server® 2008 R2.
Hibernatification! Roadmap for Migrating from Plain Old SQL on JDBC to JPA on Hibernate Duke Banerjee Senior Developer, DrillingInfo.com.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Entity Framework Code First End to End
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 7-1 David M. Kroenke’s Chapter Seven: SQL for Database Construction and.
Native Support for Web Services  Native Web services access  Enables cross platform interoperability  Reduces middle-tier dependency (no IIS)  Simplifies.
Entity Framework, a quickstart Florin−Tudor Cristea, Microsoft Student Partner.
Database Solutions for Storing and Retrieving XML Documents.
Introduction to Accounting Information Systems
CHAPTER 14 USING RELATIONAL DATABASES TO PROVIDE OBJECT PERSISTENCE (ONLINE) © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database.
Overview of Data Access MacDonald Ch. 15 MIS 324 Professor Sandvig.
Entity Framework Overview. Entity Framework A set of technologies in ADO.NET that support the development of data-oriented software applications A component.
Web Caching By Neeraj Agrawal. Caching Caching is widely used for improving performance in many context( e.g processor caches in hardware, buffer pool.
Introduction to LINQ Lecture # 19 August Introduction How do you interrogate/manipulate data? What if you could do the work in a type-safe," string-free.
1 Hammad Khan. COURSE CONTENTS.NET Framework And C# SQL Server 2008 ADO.NET LINQ ASP.NET Dynamics Data ASP.NET MVC framework 2 Advance C# Concepts Windows.
Introduction to Database Development Using Borland Data Providers 2128 Martin Rudy.
Ronnie Saurenmann Principal Architect Microsoft Switzerland.
Information System Development Courses Figure: ISD Course Structure.
 Language Integrated Query  Make query a part of the language  Component of.NET Framework 3.5  Shipped with Visual Studio 2008.
Module 7: Accessing Data by Using ADO.NET
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 14 Using Relational Databases to Provide Object Persistence (Overview) Modern Database.
Department of computer science and engineering Two Layer Mapping from Database to RDF Martin Švihla Research Group Webing Department.
1 © 1999 Microsoft Corp.. Microsoft Repository Phil Bernstein Microsoft Corp.
Oct * Brad Tutterow. VS 2008.NET 3.5LINQ Entity Framework  The ADO.NET Entity Framework is part of Microsoft’s next generation of.NET technologies.
EntityFrame work and LINQ CH 14. linq LINQ enables you to query data from a wide variety of data sources, directly from your programming code. LINQ is.
AUC Technologies LINQ (Language Integrated Query) LINQ Presented By : SHAIKH SHARYAR JAVED Software Engineer (Daedalus Software Inc.) Technology Teacher.
Web Information Systems Modeling Luxembourg, June VisAVis: An Approach to an Intermediate Layer between Ontologies and Relational Database Contents.
02 | Data Flow – Extract Data Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons Great.
SDK Overview Rob DeCarlo Bechtel.
Representation of Trust Model using RDBMs Priyank Sharma Colorado State University.
ADO.NET 3.0 – Entity Data Model Gert E.R. Drapers Chief Software Architect Visual Studio Team Edition for Database Professionals Microsoft Corporation.
Reading Exercise 0 Discussion. Imperative vs Declarative A.Prolog, SQL, Perl B.ML, Lisp, SQL C.C, Java,Smalltalk D.C#, Haskell, Spreadsheets E.C++, Eiffel,
FEN Introduction to the database field: The development process Seminar: Introduction to relational databases Development process: Analyse.
Introduction to ORM Hibernate Hibernate vs JDBC. May 12, 2011 INTRODUCTION TO ORM ORM is a programming technique for converting data between relational.
2 Behind every great site, there is great data Eric Nelson Developer Evangelist Microsoft UK
Physical Layer of a Repository. March 6, 2009 Agenda – What is a Repository? –What is meant by Physical Layer? –Data Source, Connection Pool, Tables and.
Components.
CS422 Principles of Database Systems Course Overview
Chris Menegay Sr. Consultant TECHSYS Business Solutions
Language Integrated Query: (LINQ) An introduction
Tech·Ed North America /31/2018 4:35 PM
Phil Bernstein Microsoft Corp.
Optimizing Microsoft SQL Server 2008 Applications Using Table Valued Parameters, XML, and MERGE
ADO.NET Entity Framework Marcus Tillett
ADO.NEXT Advances in Data Access for 2008
An Introduction to Entity Framework
Implementing Data Models & Reports with Microsoft SQL Server
11/18/2018 2:14 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Relational Databases The Relational Model.
Relational Databases The Relational Model.
Populating a Data Warehouse
Query Optimization.
Visual Studio + SQL Server Is Better
Data Access Layer (Con’t) (Overview)
Updating Databases With Open SQL
ADO.NET Entity Framework
SSIS Data Integration Data Warehouse Acceleration
Database SQL.
Updating Databases With Open SQL
Presentation transcript:

Compiling Mappings to Bridge Applications and Databases Melnik, Adya and Research

Introduction Application Model VS Database Model Reasons Approaches Client side mapping layer -Providing updatable views on DB ADO.NET Entity Framework Declarative mappings Bidirectional views Query view : app = view(DB) Update view: DB = view(app)

Mapping Approach Mapping Specification Entity SQL + XML Mapping fragment: Mapping Compilation Bidirectional views Query views + Update Views Properties Entities = QueryViews(Tables) Tables = UpdateViews(Entities) Entities = QueryViews(UpdateViews(Entities)) - Roundtripping criterion Execution ▲ Tables = ▲ UpdateViews(Entities, ▲ Entities) ▲ Tables = ▲ UpdateViews(QueryViews(Tables), ▲ Entities) Merge Views : S upd X S old → S new

Mapping Compiling Problems Data roundtrips map o map -1 = Id(C) u subset map subset q -1 Merge Views S upd X S old → S new Biparite Mappings map = f o g -1 f : C → V g : S → V

View Generation Overview Query view q = f’ o g, where f’ : V → C Update View Schema partition Merging view An example

View Generation Partitioning Schema Mapping language dependent Goals: Allowing expressing each fragment query in map as a union query over the partitions

View Generation Reconstructing partitions Injectivity holds only if the partitions can be reconstructed from the views

Conclusion A new mechanism supporting updatable views Formulating mapping compilation problems and algs. Implemented in Commercial Product