#589 - Use the version of the instance in Hibernate's session