Allow insertion of nodes with empty property map.

This commit is contained in:
hns 2003-06-05 16:49:25 +00:00
parent b8dbca8ce2
commit ff563e677c

View file

@ -535,7 +535,7 @@ public final class NodeManager {
Relation rel = columns[i].getRelation(); Relation rel = columns[i].getRelation();
Property p = null; Property p = null;
if ((rel != null) && (rel.isPrimitive() || rel.isReference())) { if (rel != null && propMap != null && (rel.isPrimitive() || rel.isReference())) {
p = (Property) propMap.get(rel.getPropName()); p = (Property) propMap.get(rel.getPropName());
} }