yes exactly, it is what I did in the github repo https://github.com/alexisgayte/hibernate-test-case I ve added maven to build it.
git clone https://github.com/alexisgayte/hibernate-test-case.git mvn compile exec:java
Should showup the error.
Alexis