Revision 5851
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/checkout/VCSGisJCheckoutImpl.java | ||
---|---|---|
33 | 33 |
import org.apache.commons.lang3.StringUtils; |
34 | 34 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
35 | 35 |
import org.gvsig.fmap.dal.store.jdbc.JDBCStoreParameters; |
36 |
import org.gvsig.fmap.dal.store.jdbc2.JDBCServerExplorer; |
|
36 | 37 |
import org.gvsig.tools.ToolsLocator; |
37 | 38 |
import org.gvsig.tools.dispose.DisposeUtils; |
38 | 39 |
import org.gvsig.tools.i18n.I18nManager; |
... | ... | |
275 | 276 |
exists = true; |
276 | 277 |
} else { |
277 | 278 |
// Ojo. esta comprobacion es lenta. |
278 |
JDBCStoreParameters parameters = workspace.getExplorer().get(selectedTable.getEntityName()); |
|
279 |
if( workspace.isInMyDatabase(parameters) ) { |
|
279 |
JDBCServerExplorer explorer = workspace.getExplorer(); |
|
280 |
JDBCStoreParameters parameters = explorer.get(selectedTable.getEntityName()); |
|
281 |
if( explorer.exists(parameters) ) { |
|
280 | 282 |
exists = true; |
281 | 283 |
} |
282 | 284 |
} |
Also available in: Unified diff