I need to get the string from an Hibernate query and process it later (so I can\'t solve it with \"hibernate.show_sql\").
\"hibernate.show_sql\"
I have already looked at How t
There is a tool called p6spy. It's a bit older and I am afraid it isn't maintained anymore. It gave me good results in the past, anyway.
Edit: just found that it is being actively developed again. Works like a charm for me!