Skip to content

Instantly share code, notes, and snippets.

@thjanssen
Created May 16, 2017 17:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thjanssen/e15c0a495f87f64222c386bc523faf29 to your computer and use it in GitHub Desktop.
Save thjanssen/e15c0a495f87f64222c386bc523faf29 to your computer and use it in GitHub Desktop.
<persistence>
<persistence-unit name="my-persistence-unit">
...
<properties>
<property name="hibernate.generate_statistics" value="true" />
...
</properties>
</persistence-unit>
</persistence>
11:23:21,398 DEBUG [org.hibernate.stat.internal.ConcurrentStatisticsImpl] - HHH000117: HQL: SELECT a FROM Author a WHERE a.id = :id, time: 22ms, rows: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment