How to show real SQL in Hibernate
Author: Venkata Sudhakar
The below example shows how to show real SQL queries in Hibernate. As you are aware Hibenate generates dialect specific native SQL queries to perform various operations. To view all Hibernate generated SQLs just set show_sql flag.
Incase you are using Hibernate with Spring integration