发明授权
- 专利标题: Preserving user code in OTT-generated classes
- 专利标题(中): 在OTT生成的类中保留用户代码
-
申请号: US10899947申请日: 2004-07-26
-
公开(公告)号: US07401088B2公开(公告)日: 2008-07-15
- 发明人: Kalyanji Chintakayala , Subhranshu Banerjee , Krishna Mohan, IV , Srinath Krishnaswamy , Ravikanth Kasamsetty
- 申请人: Kalyanji Chintakayala , Subhranshu Banerjee , Krishna Mohan, IV , Srinath Krishnaswamy , Ravikanth Kasamsetty
- 申请人地址: US CA Redwood Shores
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Townsend and Townsend and Crew LLP
- 主分类号: G06F17/30
- IPC分类号: G06F17/30 ; G06F7/00
摘要:
An object type translator (OTT) determines one or more database object types. The one or more database object types are mapped to a first structural language type definition code. After being generated, the user may add user code to the first structural language type definition code. During regeneration of these files, the first structural language type definition code is then parsed to determine the user code that has been added, based on the start and end markers that the user code segments have been marked with. OTT maps these user-code segments to the corresponding database types and keeps track of the mapping and the user code. When the OTT starts generating the second structural language code, the OTT determines a position where the user code should be inserted into the second structural language type definition code using that mapping. The user code is then inserted in the second structural language code in the position determined. Accordingly, the user code that was added is not lost when the structural language type definition code is regenerated from the one or more database object types.
公开/授权文献
- US20060031241A1 Preserving user code in OTT-generated classes 公开/授权日:2006-02-09