Hi all,
In my hibernate config show_sql property is 'true' and since i am not using log4j API of logging, by default hibernate was showing queries with '?' marks in the tomcat console.
In my case i need to print the complete sql query with parameter values which was executed by hibernate into logs, but i am not using log4j API for logging to configure the debug level for org.hibernate.SQL
and org.hibernate.type
.
For logging we are manually writing the content into the file, so in this situation can anybody tell me how can i get the hibernate queries into logs.