The createSchema() function of the PostgisDataStore doesn't work. First it checks to see if the table to be created is not already present, but then it asks the FIDMapper for the table's PKs.
The org.geotools.data.jdbc.fidmapper.getPkColumnInfo() throws a SchemaNotFoundException that cause the createSchema() to fail.
A solution would be to return a new ColumnInfo instead, so that the
buildNoPKMapper() function would be called.
The problem is that FeatureType and AttributeType have no notion of PKs, so how can the buildNoPKMapper() function knows which fields are Pks???
I have a fixed version of PostgisDataStore (albeit it's not general enough to be used as is). Where and how can I submit it???