Vonage Interview Question

How to debug hibernate queries?