1. A method, comprising: obtaining, with a processor executing on a computer, information from source code of a client application that includes a location of an Application Programming Interface (API) call that issues a query and parameters of the API call in the source code, wherein query text for the query is not available until the source code is run; running the source code to obtain a stack trace that includes the location of the API call in the stack trace and the query text for the query issued by the API call; examining the stack trace to determine a match between the location of the API call in the source code and the location of the API call in the stack trace; identifying the query text in the stack trace for the API call in the stack trace as the query text associated with the API call at the location in the source code; storing the query and database objects used by the query in a repository; and in response to receiving a change request for one of the database objects, returning the query from the repository for use in assessing an impact of the change request.