db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Jefferson <a...@datanucleus.org>
Subject Re: TCK "Relationship1ToManyAllRelationships.testDeleteFromMappedSide"
Date Mon, 06 Apr 2009 09:24:08 GMT
> so it tries to find the position of this (deleted) object in the HashSet
> and tries to work out the hashcode of the deleted object ... hence
> provoking an attempt to load the person id (since Person defines hashCode()
> as that). But the element is deleted hence the exception.

Forgot to mention; this only happens with datastore-id since with app-id the 
hashCode() uses the PK fields and they are obviously present hence no load of 
fields is required.



-- 
Andy  (DataNucleus - http://www.datanucleus.org)

Mime
View raw message