|
From: lim g. <cl...@st...> - 2010-03-07 23:49:35
|
Hi all, I've been trying to FeatureSourceTest on the new ingres module. From what I read, I should be able to get at least FeatureSourceTest working without fully implementing the module with advanced functionalities the other jdbc modules have. But I have been getting failure in all the tests because non of the test can go pass the setup stage, mainly with the following error jjava.io.IOException: Schema 'http://www.geotools.org/test:ft1' does not exist. at org.geotools.data.store.ContentDataStore.ensureEntry(ContentDataStore.java:591) at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:381) at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:348) at org.geotools.jdbc.JDBCFeatureSourceTest.setUp(JDBCFeatureSourceTest.java:49) I tried to dive into the org.geotools.jdbc package but couldn't figure out what is this schema about. JDBCTestSupport apparently put this value into the parameter used to create datastore, but other jdbc projects do not seem to override this behaviour (or so I saw). Is there anyone that will be able to explain to me what exactly those "Schema"/"NameSpaceURI" parameters are, what are they for and how are they set/used? Thank you. -- L I M |