[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-devel] Oracle Spatial Connection Bug
|
I tried to debug the oracle spatial plugin and found a bug in /net.refractions.udig.catalog.ui/src/net/refractions/udig/catalog/ui/wizard/DataBaseRegistryWizardPage.java file. The problem is with the following function.
protected boolean couldConnect() {
if ((currentDBCI.getHostString().length() > 0) && (currentDBCI.getPortString().length() > 0)
&& (currentDBCI.getUserString().length() > 0)
&& (currentDBCI.getPassString().length() > 0)
&& (currentDBCI.getDbString().length() > 0)) {
if (!dbmsUsesSchema())
// All are set and we don't use schema
return (true);
// Need a schema and have one
if (currentDBCI.getSchemaString().length() > 0)
return (true);
// Need schema but don't have one.
return (false);
// if no schema is there then it returns false. When I set it as true. the list //schema was populated. But when I restarted the Udig, I again had to set it false, to populate the schema list.
} // One or more are not set
return (false);
}
--
Thanks,
Rahul