This is natvie query but unable to execute in Hibernate. How I can achieve by Postgresql function.
select * from company c where c.group_code ?| array[\'g1\']