* implement unsetConstraints() to unset complex references

This commit is contained in:
hns 2003-05-05 16:01:39 +00:00
parent 6e672d330f
commit 626ce207a0

View file

@ -2492,9 +2492,9 @@ public final class Node implements INode, Serializable {
// unset constraints.
Relation rel = dbmap.getExactPropertyRelation(propname);
if (rel != null && (rel.isComplexReference() || rel.countConstraints() > 1)) {
if (rel != null && (rel.isComplexReference())) {
p = getProperty(propname);
System.err.println ("NEED TO UNSET: "+p.getNodeValue());
rel.unsetConstraints(this, p.getNodeValue());
}
}
} catch (Exception ignore) {