Since "collection" params are only specified for specific cases in JPQL I'd argue that this is just wrong usage and the user should do the collection spreading himself. I guess it's not that easy to find out in that case if parentheses are needed.