1 Reply Latest reply on Feb 24, 2006 10:08 AM by treespace

    Version Timestamp and Hashcode

      Each of my persisted classes has a version property of type Timestamp annotated with @Version. Guidelines suggest not using the auto-generated primary keys for equality checks. Is the version timestamp suitable? That would simplify things since the equals and hashCode overrides would be the same for all persisted objects in this package.