Hibernate commit changes