System and method for recursive path analysis of DBMS procedures
First Claim
Patent Images
1. A method of generating dependency information for code objects stored in a database, comprising:
- recursively querying a database for one or more dependencies of procedural code objects stored in the database;
identifying one or more dependencies of procedural code objects stored in the database;
generating a dependency information tracking array based on the identification of one or more dependencies of procedural code objects; and
stopping the recursive query of the database upon identifying a dependency that is already included in the dependency information tracking array.
2 Assignments
0 Petitions
Accused Products
Abstract
A system, method and database development tool are disclosed for automatically generating the complete dependency graph for use in debugging stored code objects in a database, by using a recursive dependency tracking algorithm which takes into consideration the indirect dependencies on triggers as well as the dependencies on implementations of object oriented code objects which are represented as separate objects in the database catalog.
116 Citations
35 Claims
-
1. A method of generating dependency information for code objects stored in a database, comprising:
-
recursively querying a database for one or more dependencies of procedural code objects stored in the database; identifying one or more dependencies of procedural code objects stored in the database; generating a dependency information tracking array based on the identification of one or more dependencies of procedural code objects; and stopping the recursive query of the database upon identifying a dependency that is already included in the dependency information tracking array. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method of generating dependency information for code objects stored in a database, comprising:
-
recursively querying a database for one or more dependencies of procedural code objects stored in the database; identifying one or more dependencies of procedural code objects stored in the database; generating a dependency information tracking array based on the identification of one or more dependencies of procedural code objects; and identifying one or more cyclic dependencies among code objects stored in the database. - View Dependent Claims (16)
-
-
17. A method of generating dependency information for code objects stored in a database, comprising:
-
recursively querying a database for one or more dependencies of procedural code objects stored in the database; identifying one or more dependencies of procedural code objects stored in the database; recursively querying the database for one or more dependencies of specifications of object-oriented code objects stored in the database; identifying one or more dependencies of specifications of object-oriented code objects stored in the database; recursively querying the database for one or more dependencies of implementations of object-oriented code objects in the database; identifying one or more dependencies of implementations of object-oriented code objects in the database; parsing the source code of the database for data manipulation statements that fire triggers; identifying one or more data manipulation statements that fire triggers; recursively querying the database for one or more dependencies on triggers of code objects stored in the database based on the one or more data manipulation statements that fire triggers; identifying one or more dependencies on triggers of code objects stored in the database; and generating a dependency information tracking array based on the identification of one or more dependencies of procedural code objects stored in the database, one or more dependencies of specifications of object-oriented code objects stored in the database, one or more dependencies of implementations of object-oriented code objects stored in the database, and one or more dependencies on triggers of code objects stored in the database. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
-
25. A system for generating dependency information for code objects stored in a database, comprising:
-
a database operable to store code objects; and a processing system operable to; recursively query the database for one or more dependencies of procedural code objects stored in the database; identify one or more dependencies of procedural code objects stored in the database; generate a dependency information tracking array based on the identification of one or more dependencies of procedural code objects; and stop the recursive query of the database upon identifying a dependency that is already included in the dependency information tracking array. - View Dependent Claims (26, 27, 28)
-
-
29. A system for generating dependency information for a code object stored in a database, comprising:
-
a database operable to store a code object; and a processing system operable to; recursively query the database for one or more dependencies of procedural code objects stored in the database; identify one or more dependencies of procedural code objects stored in the database; recursively query the database for one or more dependencies of specifications of object-oriented code objects stored in the database; identify one or more dependencies of specifications of object-orients code objects stored in the database; recursively query the database for one or more dependencies of implementations of object-oriented code objects stored in the database; identify one or more dependencies of implementations of object-oriented code objects stored in the database; parse the source code of the database for data manipulation statements that fire triggers; identify one or more data manipulation statements that fire triggers; recursively query the database for one or more dependencies on triggers of code objects stored in the database based on the one or more data manipulation statements that fire triggers; identify one or more dependencies on triggers of code objects stored in the database; and generate a dependency information tracking array based on the identification of one or more dependencies of procedural code objects stored in the database, one or more dependencies of specifications of object-oriented code objects stored in the database, one or more dependencies of implementations of object-oriented code objects stored in the database, and one or more dependencies on triggers of code objects stored in the database.
-
-
30. A computer-readable medium encoded with logic operable, when executed on a computer processor, to perform the steps comprising:
-
recursively querying a database for one or more dependencies of procedural code objects stored in the database; identifying one or more dependencies of procedural code objects stored in the database; and generating a dependency information tracking array based on the identification of one or more dependencies of procedural code objects; and stopping the recursive query of the database upon identifying a dependency that is already included in the dependency information tracking array. - View Dependent Claims (31, 32, 33)
-
-
34. A computer-readable medium encoded with logic operable, when executed on a computer processor, to perform the steps comprising:
-
recursively querying a database for one or more dependencies of procedural code objects stored in the database; identifying one or more dependencies of procedural code objects stored in the database; recursively querying the database for one or more dependencies of specifications of object-oriented code objects stored in the database; identifying one or more dependencies of specifications of object-oriented code objects stored in the database; recursively querying the database for one or more dependencies of implementations of object-oriented code objects in the database; identifying one or more dependencies of implementations of object-oriented code objects in the database; parsing the source code of the database for data manipulation statements that fire triggers; identifying one or more data manipulation statements that fire triggers; recursively querying the database for one or more dependencies on triggers of code objects stored in the database based on the one or more data manipulation statements that fire triggers; identifying one or more dependencies on triggers of code objects stored in the database; and generating a dependency information tracking array based on the identification of one or more dependencies of procedural code objects stored in the database, one or more dependencies of specifications of object-oriented code objects stored in the database, one or more dependencies of implementations of object-oriented code objects stored in the database, and one or more dependencies on triggers of code objects stored in the database.
-
-
35. A method of generating dependency information for code objects stored in a database, comprising:
-
recursively querying a database for one or more dependencies of procedural code objects stored in the database; identifying one or more dependencies of procedural code objects stored in the database; generating a dependency information tracking array based on the identification of one or more dependencies of procedural code objects; and for each of the one or more dependencies identified, determining whether the dependency already occurs in the graph; and terminating the recursive query of the database upon determining that one of the one or more dependencies already occurs in the graph.
-
Specification