I want to write a jpa Predicate to get criteria query giving the same result as this HQL query:
from Profile P WHERE (:interests) in P.profileInterests
, where "interests" is a method parameter ( List of Strings ) and profileInterests is a field of Profile entity class (also List of Strings).
I still get ClassCastException.