Have this HQL query:
UPDATE MyObject obj SET status = :status WHERE obj in (:someObjects)
IntelliJ is not liking the "obj in (:someObjects)" chunk and gives this message:
"Type mismatch: number or string type expected"
However, this query runs fine and I am fairly certain objects are allowed in this context.