Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Provide option to return SQL generated / execution stats
Description
Shantanu: Provide a mechanism to show the SQL being executed (configurable, so that it can be turned off)
Sean: Good idea. Even better, a way to access statistics about the prepared statement after execution - timing etc?
Shantanu: Yes, that would be an add-on value to show how are the queries performing.
Environment
None
Activity
Sean Corfield August 27, 2015 at 3:02 AM
Since there is no portable way to do this and the output of (.toString stmt) differs across drivers such that extracting the generated SQL / parameters in any meaningful way is difficult, I'm going to decline this one.
Shantanu: Provide a mechanism to show the SQL being executed (configurable, so that it can be turned off)
Sean: Good idea. Even better, a way to access statistics about the prepared statement after execution - timing etc?
Shantanu: Yes, that would be an add-on value to show how are the queries performing.