intarray overlap (have elements in common) operator

Started by PG Bug reporting formalmost 7 years ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/functions-array.html
Description:

Hi

How do i write below native query to JPA/Hibernate. (JPQL)

SELECT * FROM TABLE_NAME WHERE TABLE_COLUMN_ARRAY && '{1,2}'

Regards,
Anand S

#2David G. Johnston
david.g.johnston@gmail.com
In reply to: PG Bug reporting form (#1)
Re: intarray overlap (have elements in common) operator

On Thursday, May 2, 2019, PG Doc comments form <noreply@postgresql.org>
wrote:

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/functions-array.html
Description:

Hi

How do i write below native query to JPA/Hibernate. (JPQL)

SELECT * FROM TABLE_NAME WHERE TABLE_COLUMN_ARRAY && '{1,2}'

This is not the correct forum for your question. -general might get you a
response but for client-side questions asking questions to that community
specifically is a better bet.

David J.