Method and apparatus for executing stored code objects in a database
First Claim
Patent Images
1. A method for generating an executable anonymous block that can be used to execute a subprogram in an Oracle database, using a computer which has at least a processor, memory, display, input/output devices and connectivity software to connect to the Oracle server, the method comprising the steps of:
- a) selecting a subprogram from an Oracle catalog;
b) getting source code for the subprogram by reverse engineering the subprogram;
c) parsing the source code to extract a declaration of parameters from the source code; and
d) generating an executable anonymous block using parameter values indicated by the declaration of parameters.
3 Assignments
0 Petitions
Accused Products
Abstract
A system, method and database development tool are disclosed for automatically generating parameters for use in executing a stored code object in a data base, by parsing source code derived from existing data base code which represents the stored code object, wherein the parameters may represent complex data types.
-
Citations
6 Claims
-
1. A method for generating an executable anonymous block that can be used to execute a subprogram in an Oracle database, using a computer which has at least a processor, memory, display, input/output devices and connectivity software to connect to the Oracle server, the method comprising the steps of:
-
a) selecting a subprogram from an Oracle catalog; b) getting source code for the subprogram by reverse engineering the subprogram; c) parsing the source code to extract a declaration of parameters from the source code; and d) generating an executable anonymous block using parameter values indicated by the declaration of parameters. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of generating valid declaration statements of an Oracle subprogram in an Oracle database, using a computer which has at least a processor, memory, display, input/output devices and connectivity software to connect to the Oracle server, the method comprising the steps of:
-
a) providing a database development tool configured to be used to develop PL/SQL code against an Oracle database server; b) reverse engineering source code of a subprogram from an oracle catalog; c) parsing the source code for a parameter declaration and then modifying the declaration to make it a valid variable declaration statement; and d) using the variable declaration statement to develop the PL/SQL code.
-
Specification