Detecting and displaying errors in database statements within integrated development environment tool
First Claim
Patent Images
1. A computer-implemented method for identifying and presenting a developer with an error in a database statement embedded in program source code, comprising:
- displaying a portion of the source code in an editing pane of an integrated development environment (IDE) tool executed by a processor, wherein the portion of the source code includes a text string and wherein the IDE tool provides a programming environment used to develop a database-aware application, and wherein the IDE tool includes at least a graphical text editor and a compiler;
detecting that the text string is a database statement;
passing the text string to a query parser, wherein the query parser is configured to evaluate whether the database statement represented by the text string is valid;
receiving a result of the evaluation performed by the query parser; and
upon determining that the result indicates the database statement is not valid, presenting an indication that the text string is not a valid database statement.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the invention provide database integration within an integrated development environment (IDE) tool for displaying database structure and other database information, query editing and execution, and error detection for database statements embedded in program source code. Embodiments of the invention integrate database connectivity and error detection into the IDE tool, thereby potentially reducing the time required for database-aware application development.
-
Citations
24 Claims
-
1. A computer-implemented method for identifying and presenting a developer with an error in a database statement embedded in program source code, comprising:
-
displaying a portion of the source code in an editing pane of an integrated development environment (IDE) tool executed by a processor, wherein the portion of the source code includes a text string and wherein the IDE tool provides a programming environment used to develop a database-aware application, and wherein the IDE tool includes at least a graphical text editor and a compiler; detecting that the text string is a database statement; passing the text string to a query parser, wherein the query parser is configured to evaluate whether the database statement represented by the text string is valid; receiving a result of the evaluation performed by the query parser; and upon determining that the result indicates the database statement is not valid, presenting an indication that the text string is not a valid database statement. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer program product comprising a computer useable storage medium having a computer readable program, wherein the computer readable program when executed on a computer causes the computer to perform an operation comprising:
-
displaying a portion of source code in an editing pane of an integrated development environment (IDE) tool, wherein the portion of the source code includes a text string and wherein the IDE tool provides a programming environment used to develop a database-aware application, and wherein the IDE tool includes at least a graphical text editor and a compiler; detecting that the text string is a database statement; passing the text string to a query parser, wherein the query parser is configured to evaluate whether the database statement represented by the text string is valid; receiving a result of the evaluation performed by the query parser; and upon determining that the result indicates the database statement is not valid, presenting an indication that the text string is not a valid database statement. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A system, comprising:
-
a processor; and a memory containing an integrated development environment (IDE) tool configured to identify and present a developer with an error in a database statement embedded in program source code by performing an operation, comprising; displaying a portion of the source code in an editing pane of the IDE tool, wherein the portion of the source code includes a text string and wherein the IDE tool provides a programming environment used to develop a database-aware application, and wherein the IDE tool includes at least a graphical text editor and a compiler; detecting that the text string is a database statement; passing the text string to a query parser, wherein the query parser is configured to evaluate whether the database statement represented by the text string is valid; receiving a result of the evaluation performed by the query parser; and upon determining that the result indicates the database statement is not valid, presenting an indication that the text string is not a valid database statement. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification