1. A method for generating source code for a database-aware software application, comprising: receiving, from a user interacting with an integrated development environment (IDE) tool, a selection of a database element; generating at least one database statements to access the database element; encapsulating the at least one database statements within source code of a programming language in which the database-aware software application is being written; storing the source code within a project file associated with the database-aware software application; and displaying the source code in an editing pane of the IDE tool.