You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Co-locate Hibernate-specific parameters accessor as the same package as JPA parameters accessor.
Remove Parameter Accessor reference from Persistence Provider since it's created in AbstractJpaQuery.
Closes#3137
Original Pull Request: #3173
Copy file name to clipboardExpand all lines: spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query/HibernateJpaParametersParameterAccessor.java
+4-4
Original file line number
Diff line number
Diff line change
@@ -13,15 +13,14 @@
13
13
* See the License for the specific language governing permissions and
Copy file name to clipboardExpand all lines: spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query/ParameterMetadataProvider.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -233,10 +233,10 @@ public boolean isIsNullParameter() {
233
233
/**
234
234
* Prepares the object before it's actually bound to the {@link jakarta.persistence.Query;}.
235
235
*
236
-
* @param value the value to be prepared.
236
+
* @param value can be {@literal null}.
237
237
*/
238
238
@Nullable
239
-
publicObjectprepare(Objectvalue) {
239
+
publicObjectprepare(@NullableObjectvalue) {
240
240
241
241
if (value == null || expression.getJavaType() == null) {
Copy file name to clipboardExpand all lines: spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/query/HibernateJpaParametersParameterAccessorUnitTests.java
Copy file name to clipboardExpand all lines: spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/query/JpaParametersParameterAccessorTests.java
Copy file name to clipboardExpand all lines: spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/query/QueryWithNullLikeIntegrationTests.java
0 commit comments