Commit 77b89f7
committed
refactor: Improve exists check in JpaQueryExecution
by using getResultStream and findFirst1 parent 12b5e82 commit 77b89f7
File tree
1 file changed
+4
-1
lines changed- spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query
1 file changed
+4
-1
lines changedspring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query/JpaQueryExecution.java
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
317 | 320 | | |
318 | 321 | | |
319 | 322 | | |
| |||
0 commit comments