java - Does Hibernate log the values that it assigns to placeholders in prepared SQL statements? -
Do the hibernate logs that provide placeholders in the generated SQL statement? How can I configure Log4j so that it writes these values in my log file?
yes it does this chapter) Activate the logging of the following categories:
log4j.logger.org.hibernate.SQL = DEBUG log4j.logger.org.hibernate.type = TRACE
Comments
Post a Comment