diff --git a/src/helma/objectmodel/db/Relation.java b/src/helma/objectmodel/db/Relation.java index 94867cfc..c8826527 100644 --- a/src/helma/objectmodel/db/Relation.java +++ b/src/helma/objectmodel/db/Relation.java @@ -153,10 +153,6 @@ public class Relation { constraints = new Constraint[cnst.size()]; cnst.copyInto (constraints); - - // System.err.println ("PARSED RELATION "+this); - // if (accessor != null) - // System.err.println ("SET ACCESSOR: "+accessor); } } @@ -401,25 +397,6 @@ public class Relation { cnst.addElement (new Constraint (local, otherType.getTableName (), foreign, false)); columnName = local; } - /* if ("_properties".equalsIgnoreCase (propName) || virtual) { - String subnodes2props = props.getProperty (propName+".aresubnodes"); - subnodesAreProperties = "true".equalsIgnoreCase (subnodes2props); - if (virtual) { - String subnodefilter = props.getProperty (propName+".subnoderelation"); - if (subnodefilter != null) { - Constraint c = null; // parseConstraint_v1 (subnodefilter); - if (c != null) { - cnst.add (c); - } - } - } - // update virtual mapping, if it already exists - if (virtualMapping != null) { - virtualMapping.subnodesRel = getVirtualSubnodeRelation (); - virtualMapping.propertiesRel = getVirtualPropertyRelation (); - virtualMapping.lastTypeChange = ownType.lastTypeChange; - } - } */ } @@ -674,24 +651,29 @@ public class Relation { for (int i=0; i