instance.getOldValueDirect(i) == this)
{
throw new AssociationIntegrityException(instance, attribute.getName());
}
throw new OptimisticLockException(this);
}
}
}
}
}
}
}
else if (!Query.createRead(getLazyMetaclass(), null, new Pair(Symbol.AT).eq(m_oid),
null, -1, 0, false, Query.SEC_NONE, m_context).read().isEmpty())
{
throw new AssociationIntegrityException(this);
}
throw new OptimisticLockException(this);
}
}
if (bLoad)
{