fixing HibernateConfig.java