logger « Query « JPA Q&A





1. How can I get in my logger, the duration of each hibernate query in ms    stackoverflow.com

I would have to display in my console log, the duration of each Hibernate query. Is it possible ?