The problem is specifically with persisting objects in a many to one
relationship. The odd thing is that the my code was working fine, and
then suddenly it was only persisting the objects some of the time,
completely non-deterministic and the code hadn't changed. This has
made it really hard to d
At first glance your code seems ok, The first place I would check is:
if(numlocs wrote:
>
> The problem is specifically with persisting objects in a many to one
> relationship. The odd thing is that the my code was working fine, and
> then suddenly it was only persisting the objects some of