Added deep copy capability to Hibernate example, to handle updates