Database connectivity and database model integration within integrated development environment tool
First Claim
Patent Images
1. A method of providing database connectivity within an integrated development environment (IDE) tool, the method comprising:
- displaying a portion of source code in an editing pane of the IDE tool, wherein the portion of the source code includes at least a text string representing a database statement;
determining a database to be accessed using the database statement;
establishing a database connection between the IDE tool and the database;
retrieving a data model associated with the database;
upon determining the database statement includes one or more host variables passing data to the database, prompting for a value for each host variable;
evaluating, based on the data model, the database statement to identify any errors in the database statement, wherein evaluating the database statement includes executing the database statement and providing an option to commit or rollback one or more database changes made as a result of executing the database statement;
providing programming assistance based on the database statement and the data model, including providing an indication of any errors identified by the evaluation; and
storing, by the IDE tool, the value provided for each host variable to allow the database statement to be re-executed from within the IDE tool without again prompting for values for the host variables.
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.
111 Citations
23 Claims
-
1. A method of providing database connectivity within an integrated development environment (IDE) tool, the method comprising:
-
displaying a portion of source code in an editing pane of the IDE tool, wherein the portion of the source code includes at least a text string representing a database statement; determining a database to be accessed using the database statement; establishing a database connection between the IDE tool and the database; retrieving a data model associated with the database; upon determining the database statement includes one or more host variables passing data to the database, prompting for a value for each host variable; evaluating, based on the data model, the database statement to identify any errors in the database statement, wherein evaluating the database statement includes executing the database statement and providing an option to commit or rollback one or more database changes made as a result of executing the database statement; providing programming assistance based on the database statement and the data model, including providing an indication of any errors identified by the evaluation; and storing, by the IDE tool, the value provided for each host variable to allow the database statement to be re-executed from within the IDE tool without again prompting for values for the host variables. - View Dependent Claims (2, 3, 4, 5, 6, 7, 22, 23)
-
-
8. A computer program product comprising a non-transitory computer readable 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 the IDE tool, wherein the portion of the source code includes at least a text string representing a database statement; determining a database to be accessed using the database statement; establishing a database connection between the IDE tool and the database; retrieving a data model associated with the database; upon determining the database statement includes one or more host variables passing data to the database, prompting for a value for each host variable; evaluating, based on the data model, the database statement to identify any errors in the database statement, wherein evaluating the database statement includes executing the database statement and providing an option to commit or rollback one or more database changes made as a result of executing the database statement; and providing programming assistance based on the database statement and the data model, including providing an indication of any errors identified by the evaluation; and storing, by the IDE tool, the value provided for each host variable to allow the database statement to be re-executed from within the IDE tool without again prompting for values for the host variables. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system, comprising:
-
a processor; and a memory containing an integrated development environment (IDE) tool configured to provide database connectivity within the IDE tool by performing an operation, comprising; displaying a portion of source code in an editing pane of the IDE tool, wherein the portion of the source code includes at least a text string representing a database statement, determining a database to be accessed using the database statement, establishing a database connection between the IDE tool and the database, retrieving a data model associated with the database, upon determining the database statement includes one or more host variables passing data to the database, prompting for a value for each host variable, evaluating, based on the data model, the database statement to identify any errors in the database statement, wherein evaluating the database statement includes executing the database statement and providing an option to commit or rollback one or more database changes made as a result of executing the database statement, providing programming assistance based on the database statement and the data model, including providing an indication of any errors by the evaluation, and storing, by the IDE tool, the value provided for each host variable to allow the database statement to be re-executed from within the IDE tool without again prompting for values for the host variables. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification