See Hibernates Query Parameters When Using Logback
I want to see the actual parameters of my SQL queries when using Hibernate. I add this to mine
to view queries (with question marks):
<logger name="org.hibernate.SQL" level="DEBUG" />
I read about setting
to see the options. I tried it but didn't do anything. Please note that I am using Logback as my logging system, not Log4j. I suspect this is the answer.
Is there any special configuration needed or possible, or do I need to resort to log4jdbc ?
source to share