Using = any(:array) with Hibernate 6.4.4 on PostgreSQL 16

That’s exactly my point: I do not want to use @>, I want to use = any, but I can’t find a way to do that via the criteria API. In Using PostgreSQL's = ANY(array) syntax with Hibernate 6.2.9 the suggestion was made to use array_contains, but that doesn’t give me = any. So how do I get = any via the criteria API? Hibernate internally does use = any for batch fetching, so the construct exists.