If you are using JPA and Hibernate, this tool can auto-detect N+1 query issues during testing.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


License Maven Central JavaDoc


This library contains all sorts of DB utilities like:

  • Optimistic Concurrency Retry
  • JPA SQL statement count validator


You can get the framework from Maven Central by using the following dependency:


User guide

You can find usage examples on my blog:

If you like it, you are going to love my book as well!

High-Performance Java Persistence