Revision 2183 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/test/Persistence.java

View differences:

Persistence.java
68 68
		/*
69 69
		 * A?adimos otra tabla
70 70
		 */
71
		SelectableDataSource sds2 = new SelectableDataSource(LayerFactory.getDataSourceFactory().createRandomDataSource("prueba", DataSourceFactory.MANUAL_MODE));
71
		SelectableDataSource sds2 = new SelectableDataSource(LayerFactory.getDataSourceFactory().createRandomDataSource("prueba", DataSourceFactory.CLOSING_MANUAL_MODE));
72 72
		ProjectTable pt2 = ProjectTable.createTable("tabla2", sds2);
73 73
		p.addTable(pt2);
74 74
		
......
80 80
		
81 81
		SelectableDataSource result = new SelectableDataSource(
82 82
				LayerFactory.getDataSourceFactory()
83
				.executeSQL(sql, DataSourceFactory.MANUAL_MODE));
83
				.executeSQL(sql, DataSourceFactory.CLOSING_MANUAL_MODE));
84 84
		pt1.replaceDataSource(result);
85 85
		
86 86
		/*

Also available in: Unified diff