Revision 9833 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/table/ProjectTableFactory.java

View differences:

ProjectTableFactory.java
95 95

  
96 96
                        DataSource dataSource = LayerFactory.getDataSourceFactory()
97 97
                                                            .createRandomDataSource(name,
98
                                DataSourceFactory.AUTOMATIC_OPENING);
98
                                DataSourceFactory.MANUAL_OPENING);
99 99
                        SelectableDataSource sds = new SelectableDataSource(dataSource);
100 100
                        EditableAdapter auxea = new EditableAdapter();
101 101
                        auxea.setOriginalDataSource(sds);
......
143 143
                        user = null;
144 144
                        password = null;
145 145
                    }
146
                    
147
                    name = name + " Table:" + dbod.getTable(); 
146 148

  
147 149
                    LayerFactory.getDataSourceFactory().addDBDataSourceByTable(name,
148 150
                        dbod.getHost(), port, user, password,
......
150 152

  
151 153
                    DataSource dataSource = LayerFactory.getDataSourceFactory()
152 154
                                                        .createRandomDataSource(name,
153
                            DataSourceFactory.AUTOMATIC_OPENING);
155
                            DataSourceFactory.MANUAL_OPENING);
154 156
                    SelectableDataSource sds = new SelectableDataSource(dataSource);
155 157
                    EditableAdapter auxea = new EditableAdapter();
156 158

  

Also available in: Unified diff