Uses of Interface
jakarta.persistence.metamodel.SingularAttribute
Package
Description
Jakarta Persistence Criteria API
Jakarta Persistence Metamodel API
-
Uses of SingularAttribute in jakarta.persistence.criteria
Modifier and TypeMethodDescriptionFetchParent.fetch
(SingularAttribute<? super X, Y> attribute) Create a fetch join to the specified single-valued attribute using an inner join.FetchParent.fetch
(SingularAttribute<? super X, Y> attribute, JoinType jt) Create a fetch join to the specified single-valued attribute using the given join type.<Y> Path<Y>
Path.get
(SingularAttribute<? super X, Y> attribute) Create a path corresponding to the referenced single-valued attribute.From.join
(SingularAttribute<? super X, Y> attribute) Create an inner join to the specified single-valued attribute.From.join
(SingularAttribute<? super X, Y> attribute, JoinType jt) Create a join to the specified single-valued attribute using the given join type.<Y> CriteriaUpdate<T>
CriteriaUpdate.set
(SingularAttribute<? super T, Y> attribute, Expression<? extends Y> value) Update the value of the specified attribute.<Y,
X extends Y>
CriteriaUpdate<T>CriteriaUpdate.set
(SingularAttribute<? super T, Y> attribute, X value) Update the value of the specified attribute. -
Uses of SingularAttribute in jakarta.persistence.metamodel
Modifier and TypeMethodDescription<Y> SingularAttribute<X,
Y> IdentifiableType.getDeclaredId
(Class<Y> type) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass.ManagedType.getDeclaredSingularAttribute
(String name) Return the single-valued attribute declared by the managed type that corresponds to the specified name.<Y> SingularAttribute<X,
Y> ManagedType.getDeclaredSingularAttribute
(String name, Class<Y> type) Return the single-valued attribute declared by the managed type that corresponds to the specified name and Java type.<Y> SingularAttribute<X,
Y> IdentifiableType.getDeclaredVersion
(Class<Y> type) Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass.<Y> SingularAttribute<? super X,
Y> Return the attribute that corresponds to the id attribute of the entity or mapped superclass.SingularAttribute<? super X,
?> ManagedType.getSingularAttribute
(String name) Return the single-valued attribute of the managed type that corresponds to the specified name.<Y> SingularAttribute<? super X,
Y> ManagedType.getSingularAttribute
(String name, Class<Y> type) Return the single-valued attribute of the managed type that corresponds to the specified name and Java type.<Y> SingularAttribute<? super X,
Y> IdentifiableType.getVersion
(Class<Y> type) Return the attribute that corresponds to the version attribute of the entity or mapped superclass.Modifier and TypeMethodDescriptionSet<SingularAttribute<X,
?>> ManagedType.getDeclaredSingularAttributes()
Return the single-valued attributes declared by the managed type.Set<SingularAttribute<? super X,
?>> IdentifiableType.getIdClassAttributes()
Return the attributes corresponding to the id class of the identifiable type.Set<SingularAttribute<? super X,
?>> ManagedType.getSingularAttributes()
Return the single-valued attributes of the managed type.