Make list of primary keys explicitly serializble, so when they change to field's type later, it doesn't blow up (should we fix that on the other side? (yes))

This commit is contained in:
2023-05-10 17:50:09 -05:00
parent 1121dc14d4
commit e9328c6653

View File

@ -892,7 +892,8 @@ public class QPicoCliImplementation
if(StringUtils.hasContent(primaryKeyOption))
{
deleteInput.setPrimaryKeys(Arrays.asList(primaryKeyOption.split(",")));
List<Serializable> primaryKeys = new ArrayList<>(Arrays.asList(primaryKeyOption.split(",")));
deleteInput.setPrimaryKeys(primaryKeys);
}
else if(criteria.length > 0)
{