How to show comments for generated SQL in Hibernate
Author: Venkata Sudhakar
The below example shows how to show comments for generated SQL in Hibernate. As you are aware Hibenate generates dialect specific native SQL queries. To view the hints associated with generaed SQL just set use_sql_comments flag.
Incase you are using Hibernate with Spring integration