Revision 2183 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/project/ProjectWindow.java
ProjectWindow.java | ||
---|---|---|
300 | 300 |
files[i].getAbsolutePath(), null); |
301 | 301 |
|
302 | 302 |
DataSource dataSource = LayerFactory.getDataSourceFactory() |
303 |
.createRandomDataSource(name, DataSourceFactory.AUTOMATIC_MODE); |
|
303 |
.createRandomDataSource(name, DataSourceFactory.CLOSING_AUTOMATIC_MODE);
|
|
304 | 304 |
SelectableDataSource sds = new SelectableDataSource(dataSource); |
305 | 305 |
ProjectTable projectTable = ProjectFactory.createTable(name, |
306 | 306 |
sds); |
... | ... | |
340 | 340 |
dbod.getDataBase(), dbod.getTable(), driverName, null); |
341 | 341 |
|
342 | 342 |
DataSource dataSource = LayerFactory.getDataSourceFactory() |
343 |
.createRandomDataSource(name, DataSourceFactory.AUTOMATIC_MODE); |
|
343 |
.createRandomDataSource(name, DataSourceFactory.CLOSING_AUTOMATIC_MODE);
|
|
344 | 344 |
SelectableDataSource sds = new SelectableDataSource(dataSource); |
345 | 345 |
|
346 | 346 |
ProjectTable projectTable = ProjectFactory.createTable(name, |
Also available in: Unified diff