Re: [udig-devel] Oracle NG DBTYPE parameter

2 messages Options
Embed this post
Permalink
Ugo Taddei

Re: [udig-devel] Oracle NG DBTYPE parameter

Reply Threaded More More options
Print post
Permalink
Hi Jesse,

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.

got this one in this very minute: it's the
OracleNGDataStoreFactory.DBTYPE.key = "oracle", whereas according to the
gt src the getDatabaseID() returns "Oracle".

I'm CC'ing the gt mailing list, as other people surely will bump into
this one.

So, now the factory can process the pars, but I still cannot do the next
step on the wizard (where the tables get displayed). Any suggestions
welcome.

Cheers,

Ugo

>
> Jesse
>
> On Thu, Sep 3, 2009 at 3:23 PM, Ugo Taddei
> 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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
Jody Garnett-2

Re: [udig-devel] Oracle NG DBTYPE parameter

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Thanks Ugo - I will go patch that now.

Jody

On 04/09/2009, at 5:09 PM, Ugo Taddei wrote:

Hi Jesse,

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.

got this one in this very minute: it's the OracleNGDataStoreFactory.DBTYPE.key = "oracle", whereas according to the gt src the getDatabaseID() returns "Oracle".


I see the following:
public static final Param DBTYPE = new Param("dbtype", String.class, "Type", true, "Oracle");
   ...
protected String getDatabaseID() {
   return (String) DBTYPE.sample;
}

So it is my hope that the two will always match.

I'm CC'ing the gt mailing list, as other people surely will bump into this one.

So, now the factory can process the pars, but I still cannot do the next step on the wizard (where the tables get displayed). Any suggestions welcome.

Cheers,

Ugo

Jesse
On Thu, Sep 3, 2009 at 3:23 PM, Ugo Taddei 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


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users