When 2 tables are copyed with JDBCDatastore the primary key of the target table are incremental autogenerated due to a strange behaviour (Bug ?) of Geotools, see method getNextValue of the class JDBCDataStore .
As Immediate workaround in the DS2DS action check if the target datastore is instanceof JDBCDatastore and set the hints Hints.USE_PROVIDED_FID.
When 2 tables are copyed with JDBCDatastore the primary key of the target table are incremental autogenerated due to a strange behaviour (Bug ?) of Geotools, see method getNextValue of the class JDBCDataStore .
As Immediate workaround in the DS2DS action check if the target datastore is instanceof JDBCDatastore and set the hints Hints.USE_PROVIDED_FID.