Revision 39074 branches/v2_0_0_prep/libraries/libFMap_dalfile/src/org/gvsig/fmap/dal/store/dbf/DBFStoreProvider.java

View differences:

DBFStoreProvider.java
305 305
										fType.add(dbfFile.getFieldName(i),
306 306
												DataTypes.BOOLEAN);
307 307
								attr.setDefaultValue(new Boolean(false));
308
								attr.setAllowNull(false);
308
								attr.setAllowNull(true);
309 309

  
310 310
							} else if ((fieldType == 'F') || (fieldType == 'N')) {
311 311
								precision = dbfFile.getFieldDecimalLength(i);
......
329 329
													length);
330 330
									attr.setDefaultValue(new Integer(0));
331 331
								}
332
								attr.setAllowNull(false);
332
								attr.setAllowNull(true);
333 333

  
334 334
							} else if (fieldType == 'C') {
335 335
								attr =
......
337 337
												DataTypes.STRING);
338 338
								attr.setSize(dbfFile.getFieldLength(i));
339 339
								attr.setDefaultValue("");
340
								attr.setAllowNull(false);
340
								attr.setAllowNull(true);
341 341

  
342 342
							} else if (fieldType == 'D') {
343 343
								attr =

Also available in: Unified diff