Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

How to get bound SQL value

Moderators: Vladimir Kondratyev, Anton Katilin

How to get bound SQL value

Postby bungrudi » Mon Aug 24, 2015 9:26 am

Hi, how to get SQL statement string complete with its bound values?
bungrudi
 
Posts: 10
Joined: Thu Aug 13, 2015 2:49 am

Re: How to get bound SQL value

Postby Anton Katilin » Mon Aug 24, 2015 9:39 am

Anton Katilin
 
Posts: 5574
Joined: Wed Aug 11, 2004 8:37 am

Re: How to get bound SQL value

Postby bungrudi » Mon Aug 24, 2015 1:04 pm

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
bungrudi
 
Posts: 10
Joined: Thu Aug 13, 2015 2:49 am

Re: How to get bound SQL value

Postby Anton Katilin » Mon Aug 24, 2015 1:20 pm

For prepared statements, you can see the template with "?" only.
Anton Katilin
 
Posts: 5574
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 9 guests

cron