hashCode and equals on embedded entity