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