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.

relates to

Activity

Details

Assignee

Reporter

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Priority

Created 13 November 2019 at 12:03
Updated 14 May 2025 at 11:54