I seem to recall oracle has some kind of schema or other parameter that
controls what tables you see. In anycase once you connect ot the datastore
you can ask it for the list of valid table names can you not? Those should
all work as I understand it.
Jody
On Thu, Mar 5, 2009 at 6:40 PM, alwynn <[email protected]> wrote:
>
> OK, so I'm still investigating this problem.
>
> Because I'm new to GIS, Geotools as well as Oracle spatial bear with me.
>
> When I refer to the type name string as a parameter in getFeatureSource I'm
> using the table name. This results in 'Exception in thread "main"
> java.lang.NoSuchMethodError'
>
> org.geotools.factory.CommonFactoryFinder.getAttributeTypeFactory(Lorg/geotools/factory/Hints;)Lorg/geotools/feature/AttributeTypeFactory;
>
> But when I use the table name and referring to the column that contains the
> geometric data [eg. "shops.shape_atl"] I get a :
> Feature type could not be found for shops.shape_atl.
> A entry in the shape_atl column only has the following data:
> MDSYS.SDO_GEOMETRY
>
> I tried with ojdb6 library as well as ojdbc14 with no joy [thinking that
> might resolve the no method found mentioned in my previous post].
>
> Here is my pom.xml thinking that this could be a library problem or just
> plain stupidity from my side not know what typename to use.
>
> Thanks for any thoughts, idees responses.
>
> Alwyn
>
> 1
>
>
>
> --
> View this message in context:
> http://n2.nabble.com/creating-featuresource-from-oracle-spatial-tp2422971p2427981.html
> Sent from the geotools-devel mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel