Uses of Interface
jakarta.persistence.metamodel.SingularAttribute
Packages that use SingularAttribute
Package
Description
Jakarta Persistence Criteria API
Jakarta Persistence Metamodel API
This package defines the central Hibernate APIs, beginning with
SessionFactory, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session and StatelessSession,
the most important APIs exposing persistence-related operations for
entities.Defines the runtime domain metamodel, which describes the Java aspect of
the application's domain model parts (entities, attributes).
Implementation of the SPI for the runtime domain metamodel.
Everything related to HQL/JPQL, native SQL, and criteria queries.
The JPA-standard criteria query API defines all the operations needed express
any query written in standard JPQL.
Support for defining result set mappings used in
NativeQuery,
ProcedureCall, and StoredProcedureQuery.Implementation of the SPIs for native SQL query support.
SPIs for native SQL query support.
Nodes representing path expressions in the SQM tree.
Nodes representing root entities and joins in the SQM tree.
Nodes representing
insert statements in the SQM tree.Nodes representing
update statements in the SQM tree.-
Uses of SingularAttribute in jakarta.persistence.criteria
Methods in jakarta.persistence.criteria with parameters of type SingularAttributeModifier 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
Methods in jakarta.persistence.metamodel that return SingularAttributeModifier 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.Methods in jakarta.persistence.metamodel that return types with arguments of type SingularAttributeModifier 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. -
Uses of SingularAttribute in org.hibernate
Methods in org.hibernate with parameters of type SingularAttributeModifier and TypeMethodDescription<X> NaturalIdLoadAccess<T>NaturalIdLoadAccess.using(SingularAttribute<? super T, X> attribute, X value) Add a@NaturalIdattribute value in a typesafe way. -
Uses of SingularAttribute in org.hibernate.loader.internal
Methods in org.hibernate.loader.internal with parameters of type SingularAttributeModifier and TypeMethodDescription<X> NaturalIdLoadAccess<T>NaturalIdLoadAccessImpl.using(SingularAttribute<? super T, X> attribute, X value) -
Uses of SingularAttribute in org.hibernate.metamodel.model.domain
Subinterfaces of SingularAttribute in org.hibernate.metamodel.model.domainModifier and TypeInterfaceDescriptioninterfaceExtension of the JPA-definedSingularAttributeinterface.Methods in org.hibernate.metamodel.model.domain that return SingularAttributeModifier and TypeMethodDescriptionAbstractManagedType.getDeclaredSingularAttribute(String name) AbstractIdentifiableType.getDeclaredVersion()For used to retrieve the declared version when populating the static metamodel.Methods in org.hibernate.metamodel.model.domain that return types with arguments of type SingularAttributeModifier and TypeMethodDescriptionSet<SingularAttribute<J,?>> AbstractManagedType.getDeclaredSingularAttributes()Set<SingularAttribute<? super J,?>> AbstractIdentifiableType.getIdClassAttributes()Set<SingularAttribute<? super J,?>> IdentifiableDomainType.getIdClassAttributes()Set<SingularAttribute<? super J,?>> AbstractManagedType.getSingularAttributes()Methods in org.hibernate.metamodel.model.domain with parameters of type SingularAttributeModifier and TypeMethodDescriptionprotected <Y> booleanAbstractManagedType.isPrimitiveVariant(SingularAttribute<?, ?> attribute, Class<Y> javaType) -
Uses of SingularAttribute in org.hibernate.metamodel.model.domain.internal
Classes in org.hibernate.metamodel.model.domain.internal that implement SingularAttributeModifier and TypeClassDescriptionclassstatic classSubclass used to simplify instantiation of singular attributes representing an entity's identifier.static classSubclass used to simply instantiation of singular attributes representing an entity's version. -
Uses of SingularAttribute in org.hibernate.query
Methods in org.hibernate.query that return SingularAttributeMethods in org.hibernate.query with parameters of type SingularAttributeModifier and TypeMethodDescriptionNativeQuery.addAttributeResult(String columnAlias, SingularAttribute attribute) Defines a result based on a specified attribute.static <T> Order<T>Order.asc(SingularAttribute<T, ?> attribute) An order where an entity is sorted by the given attribute, with smaller values first.static <T> Order<T>Order.by(SingularAttribute<T, ?> attribute, SortDirection direction) An order where an entity is sorted by the given attribute, in the given direction.static <T> Order<T>Order.by(SingularAttribute<T, ?> attribute, SortDirection direction, boolean ignoreCase) An order where an entity is sorted by the given attribute, in the given direction, with the specified case-sensitivity.static <T> Order<T>Order.by(SingularAttribute<T, ?> attribute, SortDirection direction, NullPrecedence nullPrecedence) An order where an entity is sorted by the given attribute, in the given direction, with the specified precedence for null values.static <T> Order<T>Order.desc(SingularAttribute<T, ?> attribute) An order where an entity is sorted by the given attribute, with larger values first. -
Uses of SingularAttribute in org.hibernate.query.criteria
Methods in org.hibernate.query.criteria with parameters of type SingularAttributeModifier and TypeMethodDescriptionJpaConflictClause.conflictOnConstraintAttributes(SingularAttribute<T, ?>... attributes) Shorthand for callingJpaConflictClause.conflictOnConstraintPaths(List)with paths resolved for the given attributes against the insert target.JpaFetch.fetch(SingularAttribute<? super T, Y> attribute) JpaFetch.fetch(SingularAttribute<? super T, Y> attribute, JoinType jt) JpaFetchParent.fetch(SingularAttribute<? super T, Y> attribute) JpaFetchParent.fetch(SingularAttribute<? super T, Y> attribute, JoinType jt) <Y> JpaPath<Y>JpaPath.get(SingularAttribute<? super T, Y> attribute) JpaFrom.join(SingularAttribute<? super T, Y> attribute) JpaFrom.join(SingularAttribute<? super T, Y> attribute, JoinType jt) <Y> JpaConflictUpdateAction<T>JpaConflictUpdateAction.set(SingularAttribute<? super T, Y> attribute, Expression<? extends Y> value) Update the value of the specified attribute.<Y,X extends Y>
JpaConflictUpdateAction<T>JpaConflictUpdateAction.set(SingularAttribute<? super T, Y> attribute, X value) Update the value of the specified attribute.<Y> JpaCriteriaUpdate<T>JpaCriteriaUpdate.set(SingularAttribute<? super T, Y> attribute, Expression<? extends Y> value) <Y,X extends Y>
JpaCriteriaUpdate<T>JpaCriteriaUpdate.set(SingularAttribute<? super T, Y> attribute, X value) -
Uses of SingularAttribute in org.hibernate.query.derived
Classes in org.hibernate.query.derived that implement SingularAttribute -
Uses of SingularAttribute in org.hibernate.query.results
Methods in org.hibernate.query.results with parameters of type SingularAttributeModifier and TypeMethodDescriptionstatic ResultBuilderBuilders.attributeResult(String columnAlias, SingularAttribute<?, ?> attribute) -
Uses of SingularAttribute in org.hibernate.query.sql.internal
Methods in org.hibernate.query.sql.internal with parameters of type SingularAttributeModifier and TypeMethodDescriptionNativeQueryImpl.addAttributeResult(String columnAlias, SingularAttribute attribute) -
Uses of SingularAttribute in org.hibernate.query.sql.spi
Methods in org.hibernate.query.sql.spi with parameters of type SingularAttributeModifier and TypeMethodDescriptionNativeQueryImplementor.addAttributeResult(String columnAlias, SingularAttribute attribute) -
Uses of SingularAttribute in org.hibernate.query.sqm.tree.domain
Methods in org.hibernate.query.sqm.tree.domain that return SingularAttributeModifier and TypeMethodDescriptionSqmPolymorphicRootDescriptor.getDeclaredSingularAttribute(String name) <Y> SingularAttribute<T,Y> SqmPolymorphicRootDescriptor.getDeclaredSingularAttribute(String name, Class<Y> type) SingularAttribute<? super T,?> SqmPolymorphicRootDescriptor.getSingularAttribute(String name) <Y> SingularAttribute<? super T,Y> SqmPolymorphicRootDescriptor.getSingularAttribute(String name, Class<Y> type) Methods in org.hibernate.query.sqm.tree.domain that return types with arguments of type SingularAttributeModifier and TypeMethodDescriptionSet<SingularAttribute<T,?>> SqmPolymorphicRootDescriptor.getDeclaredSingularAttributes()Set<SingularAttribute<? super T,?>> SqmPolymorphicRootDescriptor.getIdClassAttributes()Set<SingularAttribute<? super T,?>> SqmPolymorphicRootDescriptor.getSingularAttributes()Methods in org.hibernate.query.sqm.tree.domain with parameters of type SingularAttributeModifier and TypeMethodDescription<A> SqmSingularJoin<T,A> AbstractSqmFrom.fetch(SingularAttribute<? super T, A> attribute) <A> SqmSingularJoin<T,A> AbstractSqmFrom.fetch(SingularAttribute<? super T, A> attribute, JoinType jt) <Y> SqmPath<Y>AbstractSqmPath.get(SingularAttribute<? super T, Y> jpaAttribute) <Y> SqmPath<Y>SqmPath.get(SingularAttribute<? super T, Y> attribute) <A> SqmSingularJoin<T,A> AbstractSqmFrom.join(SingularAttribute<? super T, A> attribute) <A> SqmSingularJoin<T,A> AbstractSqmFrom.join(SingularAttribute<? super T, A> attribute, JoinType jt) -
Uses of SingularAttribute in org.hibernate.query.sqm.tree.from
Methods in org.hibernate.query.sqm.tree.from with parameters of type SingularAttributeModifier and TypeMethodDescription<A> SqmSingularJoin<T,A> SqmFrom.join(SingularAttribute<? super T, A> attribute) <A> SqmSingularJoin<T,A> SqmFrom.join(SingularAttribute<? super T, A> attribute, JoinType jt) -
Uses of SingularAttribute in org.hibernate.query.sqm.tree.insert
Methods in org.hibernate.query.sqm.tree.insert with parameters of type SingularAttributeModifier and TypeMethodDescriptionSqmConflictClause.conflictOnConstraintAttributes(SingularAttribute<T, ?>... attributes) <Y> SqmConflictUpdateAction<T>SqmConflictUpdateAction.set(SingularAttribute<? super T, Y> attribute, Expression<? extends Y> value) <Y,X extends Y>
SqmConflictUpdateAction<T>SqmConflictUpdateAction.set(SingularAttribute<? super T, Y> attribute, X value) -
Uses of SingularAttribute in org.hibernate.query.sqm.tree.update
Methods in org.hibernate.query.sqm.tree.update with parameters of type SingularAttributeModifier and TypeMethodDescription<Y> SqmUpdateStatement<T>SqmUpdateStatement.set(SingularAttribute<? super T, Y> attribute, Expression<? extends Y> value) <Y,X extends Y>
SqmUpdateStatement<T>SqmUpdateStatement.set(SingularAttribute<? super T, Y> attribute, X value)