How to get bound SQL value

Questions about YourKit Java Profiler
Post Reply
bungrudi
Posts: 10
Joined: Thu Aug 13, 2015 2:49 am

How to get bound SQL value

Post by bungrudi »

Hi, how to get SQL statement string complete with its bound values?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: How to get bound SQL value

Post by Anton Katilin »

bungrudi
Posts: 10
Joined: Thu Aug 13, 2015 2:49 am

Re: How to get bound SQL value

Post by bungrudi »

Anton Katilin wrote:Please use the Events:
https://www.yourkit.com/docs/java/help/probes_ui.jsp
Can you elaborate more?
My queries in events view still have unpopulated (?) placeholders.

http://imgur.com/Q0R4O2b
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: How to get bound SQL value

Post by Anton Katilin »

For prepared statements, you can see the template with "?" only.
Post Reply