Parameter passing of data structures where API and corresponding stored procedure are different versions/releases
First Claim
1. A method of parameter passing of data structures where an API and corresponding stored procedures are at different version/release levels, the method comprising:
- receiving, from a calling program, a data structure having at least one data structure element;
parsing the data structure for a first version identifier of the data structure;
comparing the first version identifier to a second version identifier of the stored procedures;
when said comparing of the first version identifier with the second version identifier is indicative of a data structure compatibility between said calling program and said stored procedures, parsing all of the data structure elements of the data structure; and
when said comparing of the first version identifier with the second version identifier is indicative of a data structure incompatibility between said calling program and said stored procedures, parsing only the data structure elements of the data structure that are known to both of said calling program and said stored procedures.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system and computer program product for passing parameters of data structures where an API and corresponding stored procedures are at different version/release levels. A received data structure is parsed for a version identifier of a caller. The parsed version identifier is compared to a stored procedure version identifier and a determination is made with regards to a data structure compatibility or a data structure incompatibility. If a data structure compatibility is determined, all received data structure elements are parsed. If, however, a data structure incompatibility is determined, only data structure elements known to both the caller and the stored procedures are parsed.
-
Citations
27 Claims
-
1. A method of parameter passing of data structures where an API and corresponding stored procedures are at different version/release levels, the method comprising:
-
receiving, from a calling program, a data structure having at least one data structure element;
parsing the data structure for a first version identifier of the data structure;
comparing the first version identifier to a second version identifier of the stored procedures;
when said comparing of the first version identifier with the second version identifier is indicative of a data structure compatibility between said calling program and said stored procedures, parsing all of the data structure elements of the data structure; and
when said comparing of the first version identifier with the second version identifier is indicative of a data structure incompatibility between said calling program and said stored procedures, parsing only the data structure elements of the data structure that are known to both of said calling program and said stored procedures. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for passing parameters of data structures on a computer system wherein APIs and corresponding stored procedures are at different version/release levels, the system comprising:
-
means for receiving, from a calling program, a data structure including at least one data structure element;
means for parsing the data structure for a first version identifier of the data structure;
means for comparing the first version identifier to a second version identifier of the stored procedures and determining one of a data structure compatibility or a data structure incompatibility between said calling program and said stored procedures as a result of said comparing;
means for parsing all of the data structure elements of the data structure when said comparing means determines a data structure compatibility between said calling program and said stored procedures; and
means for parsing only the data structure elements of the data structure that are known to both of said calling program and said stored procedures when said comparing means determines a data structure incompatibility between said calling program and said stored procedures. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer program product comprising a computer usable medium having computer readable program code means embodied in said medium for use in passing parameters of data structures on a computer system wherein APIs and corresponding stored procedures are at different version/release levels, comprising:
-
program code for receiving, from a calling program, a data structure including at least one data structure element;
program code for parsing the data structure for a first version identifier of the data structure;
program code for comparing the first version identifier to a second version identifier of the stored procedures and determining one of a data structure compatibility or a data structure incompatibility between said calling program and said stored procedures as a result of said comparing;
program code for parsing all of the data structure elements of the data structure when said comparing program code determines a data structure compatibility between said calling program and said stored procedures; and
program code for parsing only the data structure elements of the data structure that are known to both of said calling program and said stored procedures when said comparing program code determines a data structure incompatibility between said calling program and said stored procedures. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
Specification