发明名称 Dynamic configuration of a persistence provider
摘要 Provided are techniques for updating a physical data structure type. A persistence provider is updated with dynamic configuration data for the updated physical data structure type while an application is executing. The application that is executing is allowed to access the updated physical data structure type using the updated persistence provider to map an application level object type to the updated physical data structure type without restarting the application.
申请公布号 US8959069(B2) 申请公布日期 2015.02.17
申请号 US201213449043 申请日期 2012.04.17
申请人 International Business Machines Corporation 发明人 Channing Christopher E.;Goldenberg Glenn E.
分类号 G06F7/00;G06F17/30 主分类号 G06F7/00
代理机构 Konrad, Raynes, Davda & Victor LLP 代理人 Davda Janaki K.;Konrad, Raynes, Davda & Victor LLP
主权项 1. A method, comprising: providing, using a processor of a computer, a persistence provider that maps application level object types defined under a persistence object model that an application processes with physical data structure types defined under a physical data model for a database; and while an application that includes the persistence provider continues to execute, dynamically updating the persistence provider at runtime to access a new object of an application level object type by: adding, using a processor of a computer, a data element of a physical data structure type defined under the physical data model, wherein the physical data structure type is a type of a database object;obtaining dynamic configuration data that describes a structure of the added data element of the physical data structure type and that provides a mapping between the added data element of the physical data structure type and a new object of the application level object type defined under the persistence object model;in response to receiving a refresh event to update the persistence provider, updating the persistence provider with the dynamic configuration data for the added data element of the physical data structure type and with the mapping; andaccessing, with the application, the added data element of the physical data structure type using the updated persistence provider to map the new object of the application level object type to the added data element of the physical data structure type.
地址 Armonk NY US