Hi,
In our development environment we want to use postgis as our db opposed to oracle spatial in testing/production.
For the oracle db we have a data-dir setup with uppercase names for our feature types.
When using this data-dir and only changing the datastore in the catalog.xml I get several errors like:
org.geotools.data.SchemaNotFoundException: Feature type could not be found for
I traced it down to the DataBaseMetaData class methods like getTableName and getColumns where in the postgres case a lowercase typname must be provided to make it work.
Is there a possibility to use the same data-dir (and thus not having to rewrite all featuretype/info.xml’s to use a lowercase name (including changing the openlayers javascript)
I have already checked out a copy of geoserver and geotools sourcecode so if changes need to be made I can do that if pointed in the right direction (where to change and how to prevent mashing up other db configurations)
Cheers
Kris Geusebroek
Consultant
![]() |
Email: kgeusebroek@anonymised.com Tel: +31 (0)35 538 1921 Fax: +31 (0)35 538 1922 Mobile: +31 (0)6 30 697 223 http://www.xebia.com |
Utrechtseweg 49 1213 TL Hilversum The Netherlands |
---|
Xebia Blog ! http://blog.xebia.com/
Xebia Podcast! http://podcast.xebia.com/