Revision 2567 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/ProjectTable.java

View differences:

ProjectTable.java
225 225
            xml.putProperty("viewName",
226 226
                project.getView((FLayer) associatedTable));
227 227
        }
228

  
228
        
229
        xml.putProperty("mapping", mapping);
230
        xml.putProperty("aliases", alias);
231
        
229 232
        return xml;
230 233
    }
231 234

  
......
316 319
            setLinkTable(xml.getStringProperty("linkTable"),
317 320
                xml.getStringProperty("field1"), xml.getStringProperty("field2"));
318 321
        }
319
        
320
        try {
321
            createAlias();
322
        } catch (com.hardcode.gdbms.engine.data.driver.DriverException e) {
323
            throw new XMLException(e);
322

  
323
        if (xml.contains("mapping")){
324
            mapping = (int[]) xml.getIntArrayProperty("mapping");
325
            alias = (String[]) xml.getStringArrayProperty("aliases");
326
        }else{
327
            try {
328
                createAlias();
329
            } catch (com.hardcode.gdbms.engine.data.driver.DriverException e) {
330
                throw new XMLException(e);
331
            }
324 332
        }
333

  
325 334
    }
326 335

  
327 336
    /**

Also available in: Unified diff