This content has been marked as final.
Show 2 replies
-
1. Re: SQL Trace / debug
mwoelke Apr 4, 2006 8:28 AM (in response to jaboj)There is an option for hibernate to output all sql.
insert this to the properties of the persistence-unit you want to log all statements from.<property name="hibernate.show_sql" value="true"/> <property name="hibernate.format_sql" value="true"/> <property name="hibernate.use_sql_comments" value="true"/>
Of course the last 2 lines arent really necessary.
Regards, Milan Wölke -
2. Re: SQL Trace / debug
jaboj Apr 5, 2006 4:25 AM (in response to jaboj)Thank you very much. Exactly what I needed....