I want to make a query verify value as contained into array in Postgres. I made a nativeQuery in JPA the query apparently is correct and is working in DBeaver(DBM), but not in java application.
ERROR: operator does not exist: integer[] @> character varying
TIP: No operator matches the name and type of the argument. You need to add explicit type conversions.

