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
There are a few related issues: #2548, #2570, etc.
It does not seem to work with nullable temporal parameters either. QueryParameterSetter casts value to Date explicitly. The actual type is TypedParameterValue since 2.7, though. This causes a standard class case exception like
java.lang.ClassCastException: class org.hibernate.jpa.TypedParameterValue cannot be cast to class java.util.Date
at org.springframework.data.jpa.repository.query.QueryParameterSetter$NamedOrIndexedQueryParameterSetter.lambda$setParameter$1(QueryParameterSetter.java:98)
at org.springframework.data.jpa.repository.query.QueryParameterSetter$ErrorHandling$1.execute(QueryParameterSetter.java:140)
at org.springframework.data.jpa.repository.query.QueryParameterSetter$NamedOrIndexedQueryParameterSetter.setParameter(QueryParameterSetter.java:98)
The text was updated successfully, but these errors were encountered:
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.
There are a few related issues: #2548, #2570, etc.
It does not seem to work with nullable temporal parameters either.
QueryParameterSetter
castsvalue
toDate
explicitly. The actual type isTypedParameterValue
since 2.7, though. This causes a standard class case exception likeThe text was updated successfully, but these errors were encountered: