Hibernate Profiler: JDBC Parameters
I’ve just finished a new feature for the Hibernate Profiler to allow to logging of JDBC parameters. This is one area where the Hibernate profiler did not have feature parity with the .NET profilers. Unlike ADO.NET, JDBC does not allow you to retrieve parameters from a PreparedStatement once they are assigned unless you use a special driver proxy. We are using the excellent open source log4jdbc driver in the profiler to retrieve the parameters.
The picture below shoes the feature in action, notice the parameters are available now:
If you have any additional features ideas, visit the the user voice forum to add or vote on an issue. Questions or issue can be directed to the Hibernate Profiler group.