oscarfonts / gt-exporter

MIT License
0 stars 0 forks source link

[spatialite][geopkg] error creating FeatureType #1

Open oscarfonts opened 8 years ago

oscarfonts commented 8 years ago

java.lang.RuntimeException: Unable to map CODI_ACCES( java.math.BigDecimal) at org.geotools.jdbc.JDBCDataStore.createTableSQL(JDBCDataStore.java:2104) at org.geotools.jdbc.JDBCDataStore.createSchema(JDBCDataStore.java:743)


Upstream error:

https://github.com/geotools/geotools/blob/aa0d0346e4bb4a5a2055559c22d2b12ded7cbd20/modules/plugin/jdbc/jdbc-spatialite/src/main/java/org/geotools/data/spatialite/SpatiaLiteDialect.java#L224

BigDecimal not supported by sqlite-jdbc.

See also readme here: https://github.com/geotools/geotools/tree/aa0d0346e4bb4a5a2055559c22d2b12ded7cbd20/modules/plugin/jdbc/jdbc-spatialite

oscarfonts commented 8 years ago

Reported: https://osgeo-org.atlassian.net/browse/GEOT-5260 Patched: https://github.com/geotools/geotools/pull/1020