Hibernate init fix