JDBC Datastore - Unable to map java.net.URI

Description

When loading a feature collection from WFS (WFS-NG) with the following attribute type description (GetFeatureType):

the type is mapped to "java.net.URI". When trying to store this in a JDBC-datastore the following error occures:

Unable to map java.net.URI

The problem is that no mapping for java.net.URI to a SQL type exists:

https://github.com/geotools/geotools/blob/master/modules/library/jdbc/src/main/java/org/geotools/jdbc/SQLDialect.java#L328

A possible solution could be to map this field to a string based type (e.g. VARCHAR).

Environment

None

Assignee

Unassigned

Reporter

Tino Desjardins

Triage

Components

Affects versions

Priority

Medium