Provide the ability to view SQL parameter values when debugging ORM queries

Description

When debugging ORM it's often useful to see the SQL generated by Hibernate "under the hood".

This is possible using the logSql ORM setting, but the logged SQL does not include parameterized values, which are all replaced with "?".

It would be good to have an option to include the parameter values in the logged SQL.

Even better would be if the Hibernate SQL with parameter values could be included in the debugging output for a particular request, just as for conventional queries.

Status

Assignee

Unassigned

Reporter

Julian Halliwell

Labels

Priority

New
Configure