in src/main/java/com/epam/digital/data/platform/restapi/core/converter/jooq/FileListConverter.java [77:90]
public Object to(List files) {
var pgObject = new PGobject();
pgObject.setType(DB_TYPE);
try {
pgObject.setValue(convertFileListToPgObject(files));
} catch (SQLException e) {
log.error("Cannot set value to PgObject with type '_type_file'" , e);
throw new RequestProcessingException("Exception", Status.OPERATION_FAILED);
} catch (ClassCastException e) {
log.error("Cannot cast List<Object> to List<File>" , e);
throw new RequestProcessingException("Exception", Status.OPERATION_FAILED);
}
return pgObject;
}