发明名称 System and method for automatically modifying database access methods to insert database object handling instructions
摘要 A system and method for automatically converting a compiled program that accesses objects stored in main memory into a program that accesses and updates persistently stored objects. An initial computer program includes original instructions for accessing and updating objects in at least a first object class. The original instructions access and update objects in a computer's main memory. The system automatically revises the initial computer program to generate a revised computer program by adding to the original instructions object loading instructions and object storing instructions. During execution of the revised computer program, the object loading instructions load a copy of one of the persistently stored objects into a corresponding object in the computer's main memory when the object is accessed for a first time. The object storing instructions copy objects in the computer's main memory that contain new or modified data into corresponding persistently stored objects upon the occurrence of predefined events, such as the completion of a transaction. The system further revises the initial computer program to generate the revised computer program by adding to the original instructions dirty object marking instructions that, during execution of the revised computer program, keep track of which objects in the computer's main memory contain new and/or updated data. The object storing instructions copy only those of the objects in the computer's main memory that contain new and/or updated data.
申请公布号 US6128771(A) 申请公布日期 2000.10.03
申请号 US19960599055 申请日期 1996.02.09
申请人 SUN MICROSYSTEMS, INC. 发明人 TOCK, THERON D.;CATTELL, RODERIC G. G.
分类号 G06F12/00;G06F9/44;(IPC1-7):G06F9/45 主分类号 G06F12/00
代理机构 代理人
主权项
地址