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

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -