Commit 13ae7e5
committed
Fix potential NullPointerException in ParameterMetadataProvider.
We now guard against null values returned from ParameterExpression.getJavaType() before inspecting the value further as it turns out that Class.isAssignableFrom(…) chokes on null values being passed.
Looks like Hibernate six returns null in scenarios it previously didn't.1 parent 76412cc commit 13ae7e5
File tree
1 file changed
+4
-0
lines changed- spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
240 | 244 | | |
241 | 245 | | |
242 | 246 | | |
| |||
0 commit comments