发明名称 Use of adapter key to increase performance when updating a value referenced by a data access object
摘要 A method and apparatus for dynamically loading criteria from an object to reduce the amount of total criteria necessary to update a referenced value is disclosed. The value can be "inside" a database or an object in an object-oriented framework. When updating a value that is referenced by a data access object (such as an access key) that depends on other objects (such as access keyables) for criteria necessary to reference the value, a special data access object (called an adapter access key) is used instead of using the data access object. Instead of creating and populating all of the access keyables prior to an update of the value, the adapter access key holds onto the source of the criteria (such as a business object) needed to fill the access keyables and to access the value. The adapter access key dynamically determines criteria from the business object only for those keyables that are important in updating the value. This reduces the comparison time that used to occur when the criteria in the access key was compared to criteria that determined if the value was "within" a database or an object in an object-oriented framework, or if the data access object pointed to the value. Preferably, there is a facsimile (such as with a boolean array) of keyables that is marked in such a way that the adapter access key can be easily reset and used for multiple updates. This eliminates copying of the original key and minimizes comparison time.
申请公布号 US6526412(B1) 申请公布日期 2003.02.25
申请号 US19990296988 申请日期 1999.04.22
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 CAREY JAMES EDWARD;SANDERS PHILIP JAMES
分类号 G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址