Para acceder a los documentos con el texto completo, por favor, siga el siguiente enlace:

Incremental mapping compilation in an object-to-relational mapping system
Bernstein, Philip A.; Jacob, Marie; Pérez, Jorge; Rull Fort, Guillem; Terwilliger, James F.
Universitat Politècnica de Catalunya. Departament d'Enginyeria de Serveis i Sistemes d'Informació; Universitat Politècnica de Catalunya. MPI - Modelització i processament d´informació
In an object-to-relational mapping system (ORM), mapping expressions explain how to expose relational data as objects and how to store objects in tables. If mappings are sufficiently expressive, then it is possible to define lossy mappings. If a user updates an object, stores it in the database based on a lossy mapping, and then retrieves the object from the database, the user might get a different result than the updated state of the object; that is, the mapping might not "roundtrip." To avoid this, the ORM should validate that user-defined mappings roundtrip the data. However, this problem is NP-hard, so mapping validation can be very slow for large or complex mappings. We circumvent this problem by developing an incremental compiler for OR mappings. Given a validated mapping, a modification to the object schema is compiled into incremental modifications of the mapping. We define the problem formally, present algorithms to solve it for Microsoft's Entity Framework, and report on an implementation. For some mappings, incremental compilation is over 100 times faster than a full mapping compilation, in one case dropping from 8 hours to 50 seconds.
Peer Reviewed
Àrees temàtiques de la UPC::Informàtica::Sistemes d'informació
Data mapping
Information systems
Mapping Database systems
Dades -- Recuperació (Informàtica)

Mostrar el registro completo del ítem

Documentos relacionados

Otros documentos del mismo autor/a

Rull Fort, Guillem; Bernstein, Philip A.; Garcia dos Santos, Ivo; Katsis, Yannis; Melnik, Sergey; Teniente López, Ernest
Pérez, Jorge; Cóbreces Álvarez, Santiago; Griñó Cubero, Robert; Rodriguez Sanchez, Francisco Javier
Moral, Antolín; Vidal Manzano, José; Pérez, Jorge; Agustín de Dios, Adrián; Marina, Ninoslav; Host-Madsen, Anders
Cervera, Jaime; Pérez Foguet, Agustí; Mataix, Carlos; Romero, Ana; Pérez Arriaga, José Ignacio; Pérez, Jorge
Galobardes Reyes, Isaac; Domingues de Figueiredo, Antonio; Pialarissi Cavalaro, Sergio Henrique; García Vicente, Tomàs; Rueda, Angel; Pérez, Jorge