example of a circular object reference in hibernate