Skip to content

Commit 6445941

Browse files
JoshuaChenmp911de
authored andcommitted
Support custom countSpec in SimpleJpaRepository.findAll(…).
Closes #3727
1 parent 3987faa commit 6445941

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/JpaSpecificationExecutor.java

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
import org.springframework.data.jpa.domain.Specification;
3838
import org.springframework.data.jpa.domain.UpdateSpecification;
3939
import org.springframework.data.repository.query.FluentQuery;
40+
import org.springframework.lang.Nullable;
4041

4142
/**
4243
* Interface to allow execution of {@link Specification}s based on the JPA criteria API.

spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/UserRepositoryTests.java

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
import org.assertj.core.api.SoftAssertions;
4848
import org.hibernate.LazyInitializationException;
4949
import org.junit.jupiter.api.BeforeEach;
50-
import org.junit.jupiter.api.Disabled;
5150
import org.junit.jupiter.api.Test;
5251
import org.junit.jupiter.api.extension.ExtendWith;
5352

0 commit comments

Comments
 (0)