Revision 11468 branches/v10/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/VectorialEditableDBAdapter.java
VectorialEditableDBAdapter.java | ||
---|---|---|
118 | 118 |
type.setDriverName(getDriver().getName()); |
119 | 119 |
throw new DriverException(e, type); |
120 | 120 |
} |
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
|
126 | 126 |
} // else |
127 | 127 |
} // if tercer bOriginalCursorOpened |
128 | 128 |
} // if segundo bOriginalCursorOpened |
... | ... | |
283 | 283 |
// No metemos ninguna entidad de las originales dentro |
284 | 284 |
// de la base de datos porque esa consulta ya la |
285 | 285 |
// hace getFeatures sin tener en cuenta el ?ndice local. |
286 |
|
|
286 |
|
|
287 | 287 |
// TODO: URGENTE !!!!! |
288 | 288 |
// PONER ALGO EN LAS DRIVERS DE BASE DE DATOS PARA QUE |
289 | 289 |
// ESTO SEA R?PIDO!!! No podemos pedir TOOOOOODAS las features |
290 | 290 |
// para hacer un ?ndice que YA EXISTE dentro del VectorialDriver!!. |
291 |
|
|
291 |
|
|
292 | 292 |
for (int i = 0; i < ova.getShapeCount(); i++) |
293 | 293 |
{ |
294 | 294 |
IFeature feat = ova.getFeature(i); |
... | ... | |
403 | 403 |
|
404 | 404 |
} |
405 | 405 |
|
406 |
public void cancelEdition(int sourceType) throws IOException { |
|
407 |
super.cancelEdition(sourceType); |
|
408 |
mapFID2index.clear(); |
|
409 |
mapIndex2FID.clear(); |
|
410 |
} |
|
406 | 411 |
|
412 |
public void stopEdition(IWriter writer, int sourceType) throws EditionException { |
|
413 |
super.stopEdition(writer, sourceType); |
|
414 |
mapFID2index.clear(); |
|
415 |
mapIndex2FID.clear(); |
|
416 |
} |
|
417 |
|
|
418 |
|
|
407 | 419 |
} |
Also available in: Unified diff