Stored procedure interface language and tools
First Claim
1. A stored procedure interface language compiler and code generator system comprising:
- an annotation extractor that extracts an annotation from an annotated database management system stored procedure, the stored procedure includes at least one annotation;
a stored procedure interface language definition constructor that utilizes the extracted annotation to construct a stored procedure interface language definition of the annotated database management system stored procedure;
a code generator that generates code to call the annotated database management system stored procedure based, at least in part, upon the stored procedure interface language definition; and
a library generator that creates a library to call the annotated database management system stored procedure based, at least in part, upon the stored procedure interface language definition.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention relates to systems and methods to generate stored procedure calling code. The invention includes system and methods that utilize annotation(s) included in a stored procedure. The annotations comprise attributes that indicate the intent to have stored procedure calling code generated. After the annotated stored procedure becomes available, the code is compiled and, optionally, checked for errors, and an intermediate definition with metadata is created. The definition is a stored procedure interface language (SPIL) file. The SPIL definition is then utilized to generate high-level, stored procedure calling code, or class libraries. The high level code can then be employed within an application to invoke the stored procedure.
99 Citations
36 Claims
-
1. A stored procedure interface language compiler and code generator system comprising:
-
an annotation extractor that extracts an annotation from an annotated database management system stored procedure, the stored procedure includes at least one annotation; a stored procedure interface language definition constructor that utilizes the extracted annotation to construct a stored procedure interface language definition of the annotated database management system stored procedure; a code generator that generates code to call the annotated database management system stored procedure based, at least in part, upon the stored procedure interface language definition; and a library generator that creates a library to call the annotated database management system stored procedure based, at least in part, upon the stored procedure interface language definition. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A stored procedure interface language compiler and code generator system comprising:
-
an annotation extractor that extracts at least one annotation included in an annotated database management system stored procedure; a stored procedure interface language definition constructor that utilizes the extracted annotation to create a stored procedure interface language definition of the annotated database management system stored procedure; a code generator that receives the stored procedure interface language definition, and produces code associated with the stored procedure interface language definition to call the annotated database management system stored procedure; and a library generator that receives the stored procedure interface language definition, and produces a library associated with the stored procedure interface language definition to call the annotated database management system stored procedure. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A stored procedure code generation system comprising:
-
a computer implemented stored procedure interface language compiler system comprising an annotation extractor that extracts an annotation from an annotated database management system stored procedure, the stored procedure comprises annotated code, and a stored procedure interface language definition constructor that utilizes the extracted annotation to construct a stored procedure interface language definition of the annotated database management system stored procedure; and a stored procedure interface language generator system comprising a code generator that receives the stored procedure interface language definition of the annotated database management system stored procedure, the stored procedure interface language generator system produces code associated with the stored procedure interface language definition to call the annotated database management system stored procedure; and a library generator that receives the stored procedure interface language definition of the annotated database management system stored procedure and produces a library associated with the stored procedure interface language definition to call the annotated database management system stored procedure. - View Dependent Claims (16, 17)
-
-
18. A method of providing a stored procedure interface language compilation of an annotated database management system stored procedure comprising:
-
extracting an annotation from the annotated database management system stored procedure; utilizing the extracted annotation to construct a stored procedure interface language definition of the annotated database management system stored procedure; generating code associated with the stored procedure interface language definition to call the annotated database management system stored procedure; and creating a library associated with the stored procedure interface language definition to call the annotated database management system stored procedure. - View Dependent Claims (19, 20, 21, 22, 23, 24)
-
-
25. A method of producing code to call an annotated stored procedure comprising:
-
extracting an annotation included in an annotated database management system stored procedure; utilizing the extracted annotation to construct a stored procedure interface language definition of the annotated database management system stored procedure; producing code to call the annotated database management system stored procedure based, at least in part, upon the stored procedure interface language definition of the annotated database management system stored procedure; and generating a library to call the annotated database management system stored procedure based, at least in part, upon the stored procedure interface language definition. - View Dependent Claims (26, 27)
-
-
28. A computer readable medium storing computer executable components of a stored procedure interface language tool set, comprising:
-
a stored procedure interface language compiler component that comprises an annotation extractor component that extracts an annotation from an annotated database management system stored procedure; a stored procedure interface language definition constructor component that utilizes the extracted annotation to construct a stored procedure interface language definition of the annotated database management system stored procedure; and a stored procedure interface language generator component that comprises a code generator component that receives the stored procedure interface language definition of the annotated database management system stored procedure, the stored procedure interface language generator component produces code associated with the stored procedure interface language definition to call the annotated database management system stored procedure; and a library generator component that receives the stored procedure interface language definition of the annotated database management system stored procedure and produces a library associated with the stored procedure interface language definition to call the annotated database management system stored procedure.
-
-
29. A stored procedure interface language tool set comprising:
-
means for extracting an annotation from an annotated database management system stored procedure; means for constructing a stored procedure interface language definition utilizing the extracted annotation; means for generating code to call the annotated database management system stored procedure based, at least in part, upon the stored procedure interface language definition; and means for generating a library to call the annotated database management system stored procedure based, at least in part, upon the stored procedure interface language definition.
-
-
30. A stored procedure interface invocation system comprising:
-
a stored procedure interface language compiler system that comprises; an annotation extractor that extracts an annotation included in an annotated database management system stored procedure; and a stored procedure interface language definition constructor that utilizes the extracted annotation to construct a stored procedure interface language definition of the annotated database management system stored procedure; a stored procedure interface language generator that comprises; a code generator that generates stored procedure calling function code to call the annotated database management system stored procedure based, at least in part, upon the stored procedure interface language definition; and a library generator that generates a library to call the annotated database management system stored procedure based, at least in part, upon the stored procedure interface language definition of the annotated database management system stored procedure interface language definition; a stored procedure generated code store that saves the generated store procedure calling function code for calling the annotated database management system stored procedure; and an interface component that facilitates connection management between an application code invoking a generated stored procedure calling function from the stored procedure generated code store and a database management system stored procedure. - View Dependent Claims (31, 32, 33, 34, 35, 36)
-
Specification