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
If a query method with custom query uses a parameter of type Class annotated with @param("name"), it is considered a dynamic projection parameter and it is not bound to the query parameter.
For example, for a polymorphic entity E, I would like to be able to express a query such as:
@Query("from E e where type(e) = :type")
<T> List<T> findAll(@Param("type") Class<T> type);