diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/batch2/JpaJobPersistenceImpl.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/batch2/JpaJobPersistenceImpl.java index e814a0ab929..3851926d49b 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/batch2/JpaJobPersistenceImpl.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/batch2/JpaJobPersistenceImpl.java @@ -435,7 +435,7 @@ public class JpaJobPersistenceImpl implements IJobPersistence { PageRequest.of(thePageIndex, thePageSize), theInstanceId); } else { chunks = myWorkChunkRepository.fetchChunksNoData( - PageRequest.of(thePageIndex, thePageSize), theInstanceId); + PageRequest.of(thePageIndex, thePageSize), theInstanceId); } for (Batch2WorkChunkEntity chunk : chunks) { theConsumer.accept(toChunk(chunk));