Revision 45813 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/DefaultFeatureType.java

View differences:

DefaultFeatureType.java
132 132
        this.tags = new DefaultTags();
133 133
        this.extraColumns = new DefaultFeatureExtraColumns();
134 134
        this.checkFeaturesAtFinishEditing = false;
135
        this.checkFeaturesAtInsert = false;
135
        this.checkFeaturesAtInsert = true;
136 136
    }
137 137

  
138 138
    protected DefaultFeatureType(FeatureStore store, String id) {
......
1362 1362
        this.label = json.getString("label", null);
1363 1363
        this.description = json.getString("description",null);
1364 1364
        this.allowAtomaticValues = json.getBoolean("allowAtomaticValues",false);
1365
        this.checkFeaturesAtFinishEditing = json.getBoolean("checkFeaturesAtFinishEditing",true);
1365
        this.checkFeaturesAtFinishEditing = json.getBoolean("checkFeaturesAtFinishEditing",false);
1366 1366
        this.checkFeaturesAtInsert = json.getBoolean("checkFeaturesAtInsert",true);
1367 1367
        this.hasOID = json.getBoolean("hasOID", false);
1368 1368
        this.defaultGeometryAttributeName = json.getString("defaultGeometryAttributeName", null);

Also available in: Unified diff