Feedback
Did this article resolve your question/issue?

   

Article

Query is executed more than one time each time it is executed in the application.

Information

 
TitleQuery is executed more than one time each time it is executed in the application.
URL Namequery-is-executed-more-than-one-time-each-time-it-is-executed-in-the-application
Article Number000127406
EnvironmentProduct: Connect for ODBC, JDBC, ADO.Net Drivers
Version: All Supported
O/S: All Supported
Database: All Supported
Application: N/A
Question/Problem Description
It was found that for each time a query is executed in the application, the driver appears to be executing the query more than once.
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
Be sure to enable driver logging for the product being used.

ODBC - ODBC Trace
JDBC - Spy log
ADO.Net - .Net Trace

These traces record each api call made by the application.  This means, if the query is found to be executed in the driver trace, the application is executing the query.  In that case, check the application code to ensure that it is executing the query appropriately.

If after investigating the application code and it still appears that the driver is executing the query without the application calling the execution, please contact support.
Workaround
Notes
Last Modified Date12/27/2019 8:43 PM
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.