Vonage interview question

How to debug hibernate queries?