Work commit with working Hibernate