I can add more details later if necessary, I can't find a direct call to hashing serialVersionUID, I'm guessing this happens because of Serializable, by java itself.
private static final long serialVersionUID = 4492014110145565010L;
/* super, and super of Super is object
@Override
public int hashCode()
{
return isNew() ? super.hashCode() : Objects.hashCode( getId() );
}
*/
@Override
public final int hashCode()
{
return Objects.hash( super.hashCode(), id, external, display, integrationType );
}
@Test
public void testEquals() {
EqualsVerifier.forClass( Integration.class )
.withRedefinedSuperclass()
.withOnlyTheseFields( "id", "external", "display", "integrationType" )
.verify();
}
tried adding it to equals inside of the instanceof but that doesn't help