发明名称 Method and system for implementing efficient updatable relational views over XML data
摘要 Disclosed is a method, system, and program product for providing an efficient mechanism to provide updateable relational views over XML. This will allow application developers to write both queries and updates using a relational (SQL) syntax, even though the underlying data is stored as XML. According to some approaches, this is accomplished by implementing a reverse mapping from the data within the views to the node addresses of the corresponding data in the underlying XML document.
申请公布号 US9396284(B2) 申请公布日期 2016.07.19
申请号 US201113110671 申请日期 2011.05.18
申请人 ORACLE INTERNATIONAL CORPORATION 发明人 Arora Vikas;Baby Thomas;Liu Zhen Hua;Yu Qin
分类号 G06F17/30 主分类号 G06F17/30
代理机构 Vista IP Law Group, LLP 代理人 Vista IP Law Group, LLP ;Mei Peter
主权项 1. A computer implemented method for implementing an updateable relational view over XML, data, comprising: generating the updateable relational view to respond to both SQL query operations and SQL update operations, the updateable relational view comprising one or more rows and one or more columns, wherein data within the one or more rows and the one or more columns are populated from underlying XML data that is not stored in a relational format; using a processor to generate an index table for mapping node addresses within the underlying XML data to the updateable relational view, an entry in the index table relates a node in the underlying XML data to an item of the data in the updateable relational view, wherein the entry in the index table comprises a column that includes a node address for the node in the underlying XML data; receiving a SQL update operation, wherein the SQL update operation includes an update is directed to the updateable relational view and not to the underlying XML data; identifying the item of the data for updating in the updatable relational view to implement the SQL update operation, the item of the data corresponding to the node in the underlying XML data; using the index table to identify the node address of the node in the underlying XML data; and updating the node at the node address within the underlying XML data to implement the update made to the updateable relational view by the SQL update operation.
地址 Redwood Shores CA US