Re: [Geotools-devel] creating featuresource from oracle spatial

2009-03-25 Thread Jody Garnett
So you know you should not be mixing dependency version numbers right? I was just about to suggest checking them (since the last error of this kind was produced in a similar manner). --

Re: [Geotools-devel] creating featuresource from oracle spatial

2009-03-06 Thread alwynn
I do specify a schema parameter the config properties eg. map.put("schema","MY_SCHEMA_NAME"); When I use the getTypeNames (typeNames = dataStore.getTypeNames()) method it returns all types (tables) in the schema. The NoSuchMethodError is generated when I use dataStore.getFeautureSource("MYTABLE"

Re: [Geotools-devel] creating featuresource from oracle spatial

2009-03-05 Thread Jody Garnett
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 wr

Re: [Geotools-devel] creating featuresource from oracle spatial

2009-03-04 Thread alwynn
This is my pom.xml http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 org.geotools.demo.gui geotools-gui jar 1.0-SNAPSHOT geotools-gui ht

Re: [Geotools-devel] creating featuresource from oracle spatial

2009-03-04 Thread alwynn
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.g