arrayIntersects
Creates a Specification that tests whether a native array column shares at least one element with the given sub-array. Use this for properties mapped with @JdbcTypeCode(SqlTypes.ARRAY) and typed as Array.
Return
A Specification that tests whether the native array column intersects with the given sub-array.
Parameters
the sub-array to check for overlap.
Type Parameters
the type of the entity.
the type of the element in the array.
Creates a Specification that tests whether a nested native array column shares at least one element with the given sub-array. Use this for properties mapped with @JdbcTypeCode(SqlTypes.ARRAY) and typed as Array.
Return
A Specification that tests whether the nested native array column intersects with the given sub-array.
Parameters
the sub-array to check for overlap.
Type Parameters
the root entity type.
the type of the element in the array.