I am not a Hibernate expert, but I remember adding a property to exit the SQL statements.
SessionFactory sf = new Configuration() .setProperty("hibernate.show_sql", "true")
This should show which sql is created after each execution of your method.
source share