Language-Integrated Querying of XML Data in SQL Server

被引:5
|
作者
Terwilliger, James F. [1 ]
Melnik, Sergey [2 ]
Bernstein, Philip A. [2 ]
机构
[1] Portland State Univ, Portland, OR 97207 USA
[2] Microsoft Res, Washington, DC 98052 USA
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2008年 / 1卷 / 02期
关键词
Mapping;
D O I
10.14778/1454159.1454182
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Developers need to access persistent XML data programmatically. Object-oriented access is often the preferred method. Translating XML data into objects or vice-versa is a hard problem due to the data model mismatch and the difficulty of query translation. Our prototype addresses this problem by transforming object-based queries and updates into queries and updates on XML using declarative mappings between classes and XML schema types. Our prototype extends the ADO.NET Entity Framework and leverages its object-relational mapping capabilities. We demonstrate how a developer can interact with stored relational and XML data using the Language Integrated Query (LINQ) feature of .NET. We show how LINQ queries are translated into a combination of SQL and XQuery. Finally, we illustrate how explicit mappings facilitate data independence upon database refactoring.
引用
收藏
页码:1396 / 1399
页数:4
相关论文
共 50 条
  • [1] Generic Multiset Programming for Language-integrated Querying
    Henglein, Fritz
    Larsen, Ken Friis
    [J]. WGP 2010: PROCEEDINGS OF THE 2010 ACM SIGPLAN WORKSHOP ON GENERIC PROGRAMMING, 2010, : 49 - 59
  • [2] Language-integrated Provenance
    Fehrenbach, Stefan
    Cheney, James
    [J]. PROCEEDINGS OF THE 18TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING (PPDP 2016), 2016, : 214 - 227
  • [3] Language-integrated provenance
    Fehrenbach, Stefan
    Cheney, James
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2018, 155 : 103 - 145
  • [4] Querying and restructuring XML data by graphical query language
    Ykhlef, Mourad
    Alqahtani, Sarra
    [J]. INTERNATIONAL JOURNAL OF WEB INFORMATION SYSTEMS, 2010, 6 (03) : 230 - +
  • [5] Language-Integrated Query with Nested Data Structures and Grouping
    Okura, Rui
    Kameyama, Yukiyoshi
    [J]. FUNCTIONAL AND LOGIC PROGRAMMING, FLOPS 2020, 2020, 12073 : 139 - 158
  • [6] SQL Server 2005与XML
    胡百敬
    [J]. 程序员, 2006, (08) : 138 - 139
  • [7] The optics of language-integrated query
    Lopez-Gonzalez, J.
    Serrano, Juan M.
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2020, 190 (190)
  • [8] Language-Integrated Updatable Views
    Horn, Rudi
    Fowler, Simon
    Cheney, James
    [J]. PROCEEDINGS OF THE 31ST SYMPOSIUM ON IMPLEMENTATION AND APPLICATION OF FUNCTIONAL LANGUAGES, IFL 2019, 2019,
  • [9] Semantic Composition of Language-Integrated Shaders
    Haaser, Georg
    Steinlechner, Harald
    May, Michael
    Schwaerzler, Michael
    Maierhofer, Stefan
    Tobler, Robert
    [J]. COMPUTER VISION, IMAGING AND COMPUTER GRAPHICS - THEORY AND APPLICATIONS, VISIGRAPP 2014, 2015, 550 : 45 - 61
  • [10] A Practical Theory of Language-Integrated Query
    Cheney, James
    Lindley, Sam
    Wadler, Philip
    [J]. ACM SIGPLAN NOTICES, 2013, 48 (09) : 403 - 416