发明名称 METHODS, SYSTEMS, AND COMPUTER PROGRAM PRODUCTS FOR USING GRAPHS TO SOLVE CIRCULAR DEPENDENCY IN OBJECT PERSISTENCE
摘要 A method, system, and computer program product for reducing dependency calculation time in object persistence with circular referential integrity dependency is provided. The method includes building a graph using foreign key dependency from object to relational mapping, where nodes of the graph are object types and connected directionally from a source containing a foreign key to a target of a foreign key reference. The method further comprises topologically sorting the graph to order dependencies among the nodes including circular dependencies. The method also includes encapsulating the circular dependencies as a complex node. Furthermore, the method comprises performing object dependency calculations on the nodes and the complex node in the graph. The results of the object dependency calculations are used to generate a sequence in which the objects can be modified in a relational database.
申请公布号 US2008040367(A1) 申请公布日期 2008.02.14
申请号 US20060462727 申请日期 2006.08.07
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 BITONTI THOMAS F.;LEI YANG
分类号 G06F7/00 主分类号 G06F7/00
代理机构 代理人
主权项
地址