The feature id list returned by SimpleFeatureStore.addFeatures() contains nulls. For example, FORESTS.null. Other Dialects return featureIds by overriding lookupGeneratedValuesPostInsert().
Pull request #16 includes the overridden lookupGeneratedValuesPostInsert() which returns true.
Note that the featureId that is returned by AutoGenerated Integer IDs in in the form .. So inserting a record into FORESTS will return FORESTS.1 instead of the actual integer value 1.
I read somewhere that this is normal behavior within geotools for some reason. I'll post the article if I come across it again for reference.
The feature id list returned by SimpleFeatureStore.addFeatures() contains nulls. For example, FORESTS.null. Other Dialects return featureIds by overriding lookupGeneratedValuesPostInsert().
Pull request #16 includes the overridden lookupGeneratedValuesPostInsert() which returns true.
Note that the featureId that is returned by AutoGenerated Integer IDs in in the form.. So inserting a record into FORESTS will return FORESTS.1 instead of the actual integer value 1.
I read somewhere that this is normal behavior within geotools for some reason. I'll post the article if I come across it again for reference.