Package org.hibernate.query.assignment
Interface Assignment<T>
- Type Parameters:
T
- The target entity type of the assignment
An assignment to a field or property of an entity or embeddable.
- Since:
- 7.2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(SqmUpdateStatement<? extends T> update) static <T,
X> Assignment <T> set
(SingularAttribute<T, X> attribute, Path<T, X> value) An assigment of the entity or embeddable field or property identified by the given path from the root entity to the given attribute of the root entity.static <T,
X> Assignment <T> set
(SingularAttribute<T, X> attribute, X value) An assigment of the given literal value to the given attribute of the root entity.static <T,
X> Assignment <T> An assigment of one entity or embeddable field or property to another entity or embeddable field or property, each identified by a given path from the root entity.static <T,
X> Assignment <T> An assigment of the given literal value to the entity or embeddable field or property identified by the given path from the root entity.
-
Method Details
-
set
An assigment of the given literal value to the given attribute of the root entity. -
set
An assigment of the given literal value to the entity or embeddable field or property identified by the given path from the root entity. -
set
An assigment of the entity or embeddable field or property identified by the given path from the root entity to the given attribute of the root entity. -
set
An assigment of one entity or embeddable field or property to another entity or embeddable field or property, each identified by a given path from the root entity. -
apply
-