Commit dc854df
Fix handling of
When toPredicate() returns null, Specification.not() now returns
builder.disjunction() instead of builder.not(null). This change
ensures proper handling of null predicates in negated specifications.
Closes #3849
Original pull request: #3856
Signed-off-by: SWQXDBA <983110853@qq.com>null predicate in Specification.not().1 parent 5ebfdb6 commit dc854df
File tree
1 file changed
+1
-1
lines changed- spring-data-jpa/src/main/java/org/springframework/data/jpa/domain
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
0 commit comments