There is another method to configure hibernate parameters. I commented
it in the NewHibernateUtil.java file. I hope one of them works.