How to get bound SQL value
-
- Posts: 10
- Joined: Thu Aug 13, 2015 2:49 am
How to get bound SQL value
Hi, how to get SQL statement string complete with its bound values?
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: How to get bound SQL value
Please use the Events:
https://www.yourkit.com/docs/java/help/probes_ui.jsp
https://www.yourkit.com/docs/java/help/probes_ui.jsp
-
- Posts: 10
- Joined: Thu Aug 13, 2015 2:49 am
Re: How to get bound SQL value
Can you elaborate more?Anton Katilin wrote:Please use the Events:
https://www.yourkit.com/docs/java/help/probes_ui.jsp
My queries in events view still have unpopulated (?) placeholders.
http://imgur.com/Q0R4O2b
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: How to get bound SQL value
For prepared statements, you can see the template with "?" only.