Revision 3472

View differences:

trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/drivers/DefaultDBDriver.java
462 462
            double W = xml.getDoubleProperty("WworkArea");
463 463
            workingArea = new Rectangle2D.Double(x,y,W,H);
464 464
        }
465
        try {
466
			load();
467
		} catch (DriverException e) {
468
			throw new XMLException(e);
469
		}
465
        
470 466
    }
471 467
    public void load() throws DriverException{
472 468
    	try {            
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLayers.java
679 679
                                driver.setXMLEntity(xml.getChild(i).getChild(2));
680 680
                                
681 681
                                layer = LayerFactory.createDBLayer(driver, s[i], proj);
682
                                
682
                                ((DefaultDBDriver)driver).load();
683 683
                            } catch (DriverLoadException e) {
684 684
                                e.printStackTrace();
685 685
                                throw new XMLException(e);

Also available in: Unified diff