[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] Oracle NG
|
Hello,
I'm back to oracle ng and the OracleSpatialConnectionFactory. As I
understand, I need a context object to in various operations. The class
is being passed a null context in all cases. I'm lost.
Anyone with a hint for me and/or willing to help me out?
Thanks in advance.
Cheers,
Ugo
Ugo Taddei wrote:
Hi,
I'm some 10 classes further but (perhaps) approaching a solution.
I'vetracked this to an EndConnectionState class. See public boolean
run( IProgressMonitor ).
The code is bailing out at (line ~120)
if (params == null && urls.isEmpty()) {
return false; // could not build connection info
}
params is null and urls are empty! So, to the next
factory:OracleSpatialConnectionFactory, which "appears to be glue code
added by Jesse" and is either returns null or false.
So, I guess oracle will never work, unless I (or someone else :-) fills
in the blanks, right? If this so, I'm back to action on monday.
Cheers,
Ugo
Ps. just a note afterwards...having thrown
UnsupportedOperationExceptions (or some other runtime exception) in the
OracleSpatialConnectionFactory would have saved me (and will save
others) a lot of time :-(
Jesse Eichar wrote:
From what you are saying it sounds like the Geotools DatastoreFactory
for Oracle cannot process the parameters? Could you make sure that
Jody remembered to update the DatastoreFactory for Oracle and after
that maybe hop on the GT list and ask if there is a problem with the
parameters you are using.
Jesse
On Thu, Sep 3, 2009 at 3:23 PM, Ugo Taddei
<ugo.taddei@xxxxxxxxxxxxxxxxxx <mailto:ugo.taddei@xxxxxxxxxxxxxxxxxx>>
wrote:
Hello,
I'm trying to test trunk against an Oracle DB and getting stuck at
net.refractions.udig.catalog.internal.oracle.ui.OracleSpatialWizardPage#doIsPageComplete:
protected boolean doIsPageComplete() {
Map<String, Serializable> p = getParams();
if (p == null) {
return false;
}
//this is always false
boolean r = getDataStoreFactorySpi().canProcess(p);
return r;
}
The OracleServiceExtension.getFactory() cannot process the
parameters. I
have schema, port, passwd, dbtype, host, user and database. All
correct
(as "Lookup" on the wizard page connects properly). The "next"
button on
the wizard page is always gray.
Any hints to where to start looking?
BTW, the "Recent Connections" combo is showing everything, including
passwd!
Thanks in advance,
Ugo
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
------------------------------------------------------------------------
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel