catalog.validate(featureTypeInfo, false).throwIfInvalid();
catalog.save( featureTypeInfo );
catalog.getResourcePool().clear(featureTypeInfo);
Map<String, Serializable> parameters = featureTypeInfo.getStore().getConnectionParameters();
MetadataMap mdm = featureTypeInfo.getMetadata();
boolean virtual = mdm != null && mdm.containsKey(FeatureTypeInfo.JDBC_VIRTUAL_TABLE);
if( !virtual && parameters.equals(parametersCheck)){
LOGGER.info( "PUT FeatureType" + datastore + "," + featuretype + " updated metadata only");
}
else {