parameters.put("url", ResourceUtils.getURL(url).toExternalForm());
}
DataStore store = DataStoreFinder.getDataStore(parameters);
if (store instanceof PostgisDataStore) {
PostgisDataStore jdbcStore = (PostgisDataStore) store;
jdbcStore.setFIDMapperFactory(new NonTypedPostgisFidMapperFactory(false));
} else if (store instanceof JDBCDataStore) {
JDBCDataStore jdbcStore = (JDBCDataStore) store;
jdbcStore.setFIDMapperFactory(new NonTypedFidMapperFactory());
}
if (store == null) {