Invention Application
- Patent Title: PRESERVING USER CODE IN OTT-GENERATED CLASSES
- Patent Title (中): 保存OTT生成类中的用户代码
-
Application No.: US12136516Application Date: 2008-06-10
-
Publication No.: US20080275896A1Publication Date: 2008-11-06
- Inventor: Kalyanji Chintakayala , Subhranshu Banerjee , Krishna Mohan , Srinath Krishnaswamy , Ravikanth Kasamsetty
- Applicant: Kalyanji Chintakayala , Subhranshu Banerjee , Krishna Mohan , Srinath Krishnaswamy , Ravikanth Kasamsetty
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Main IPC: G06F7/00
- IPC: G06F7/00 ; G06F17/30

Abstract:
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.
Public/Granted literature
- US07664768B2 Preserving user code in OTT-generated classes Public/Granted day:2010-02-16
Information query