Uses of Interface
jakarta.persistence.metamodel.CollectionAttribute
Packages that use CollectionAttribute
Package
Description
Defines the Jakarta Persistence Criteria Query API.
Defines the Jakarta Persistence Metamodel API, allowing runtime
reflection on the managed types declared by a persistence unit.
-
Uses of CollectionAttribute in jakarta.persistence.criteria
Methods in jakarta.persistence.criteria that return CollectionAttributeModifier and TypeMethodDescriptionCollectionAttribute<? super Z, E> CollectionJoin.getModel()Return the metamodel representation for the collection attribute.Methods in jakarta.persistence.criteria with parameters of type CollectionAttributeModifier and TypeMethodDescription<Y> CollectionJoin<X, Y> From.join(CollectionAttribute<? super X, Y> collection) Create an inner join to the specifiedCollection-valued attribute.<Y> CollectionJoin<X, Y> From.join(CollectionAttribute<? super X, Y> collection, JoinType jt) Create a join to the specifiedCollection-valued attribute using the given join type. -
Uses of CollectionAttribute in jakarta.persistence.metamodel
Methods in jakarta.persistence.metamodel that return CollectionAttributeModifier and TypeMethodDescriptionCollectionAttribute<? super X, ?> ManagedType.getCollection(String name) Return the Collection-valued attribute of the managed type that corresponds to the specified name.<E> CollectionAttribute<? super X, E> ManagedType.getCollection(String name, Class<E> elementType) Return the Collection-valued attribute of the managed type that corresponds to the specified name and Java element type.ManagedType.getDeclaredCollection(String name) Return the Collection-valued attribute declared by the managed type that corresponds to the specified name.<E> CollectionAttribute<X, E> ManagedType.getDeclaredCollection(String name, Class<E> elementType) Return the Collection-valued attribute declared by the managed type that corresponds to the specified name and Java element type.