Interface PersistentEntityCriteriaUpdate<T>

Type Parameters:
T - The entity type
All Superinterfaces:
jakarta.persistence.criteria.CommonAbstractCriteria, jakarta.persistence.criteria.CriteriaUpdate<T>
All Known Subinterfaces:
SourcePersistentEntityCriteriaUpdate<T>
All Known Implementing Classes:
AbstractPersistentEntityCriteriaUpdate

public interface PersistentEntityCriteriaUpdate<T> extends jakarta.persistence.criteria.CriteriaUpdate<T>
The persistent entity CriteriaUpdate.
Since:
3.2
Author:
Denis Stepanov
  • Method Details

    • from

      @NonNull @NonNull PersistentEntityRoot<T> from(@NonNull @NonNull PersistentEntity persistentEntity)
    • from

      @NonNull @NonNull PersistentEntityRoot<T> from(@NonNull @NonNull Class<T> entityClass)
      Specified by:
      from in interface jakarta.persistence.criteria.CriteriaUpdate<T>
    • from

      @NonNull @NonNull PersistentEntityRoot<T> from(@NonNull @NonNull jakarta.persistence.metamodel.EntityType<T> entity)
      Specified by:
      from in interface jakarta.persistence.criteria.CriteriaUpdate<T>
    • getRoot

      @NonNull @NonNull PersistentEntityRoot<T> getRoot()
      Specified by:
      getRoot in interface jakarta.persistence.criteria.CriteriaUpdate<T>
    • set

      @NonNull <Y, X extends Y> @NonNull PersistentEntityCriteriaUpdate<T> set(@NonNull @NonNull jakarta.persistence.metamodel.SingularAttribute<? super T,Y> attribute, @Nullable X value)
      Specified by:
      set in interface jakarta.persistence.criteria.CriteriaUpdate<T>
    • set

      @NonNull <Y> @NonNull PersistentEntityCriteriaUpdate<T> set(@NonNull @NonNull jakarta.persistence.metamodel.SingularAttribute<? super T,Y> attribute, @NonNull @NonNull jakarta.persistence.criteria.Expression<? extends Y> value)
      Specified by:
      set in interface jakarta.persistence.criteria.CriteriaUpdate<T>
    • set

      @NonNull <Y, X extends Y> @NonNull PersistentEntityCriteriaUpdate<T> set(@NonNull @NonNull jakarta.persistence.criteria.Path<Y> attribute, @Nullable X value)
      Specified by:
      set in interface jakarta.persistence.criteria.CriteriaUpdate<T>
    • set

      @NonNull <Y> @NonNull PersistentEntityCriteriaUpdate<T> set(@NonNull @NonNull jakarta.persistence.criteria.Path<Y> attribute, @NonNull @NonNull jakarta.persistence.criteria.Expression<? extends Y> value)
      Specified by:
      set in interface jakarta.persistence.criteria.CriteriaUpdate<T>
    • set

      @NonNull @NonNull PersistentEntityCriteriaUpdate<T> set(@NonNull @NonNull String attributeName, @Nullable @Nullable Object value)
      Specified by:
      set in interface jakarta.persistence.criteria.CriteriaUpdate<T>
    • where

      @NonNull @NonNull PersistentEntityCriteriaUpdate<T> where(@NonNull @NonNull jakarta.persistence.criteria.Expression<Boolean> restriction)
      Specified by:
      where in interface jakarta.persistence.criteria.CriteriaUpdate<T>
    • where

      @NonNull @NonNull PersistentEntityCriteriaUpdate<T> where(@NonNull @NonNull jakarta.persistence.criteria.Predicate... restrictions)
      Specified by:
      where in interface jakarta.persistence.criteria.CriteriaUpdate<T>
    • getParameters

      @NonNull @NonNull Set<jakarta.persistence.criteria.ParameterExpression<?>> getParameters()
    • returning

      @NonNull @NonNull PersistentEntityCriteriaUpdate<T> returning(@NonNull @NonNull jakarta.persistence.criteria.Selection<? extends T> selection)
      The returning result of the query.
      Parameters:
      selection - The selection to return
      Returns:
      The update criteria.
      Since:
      4.2.0
    • returningMulti

      @NonNull @NonNull PersistentEntityCriteriaUpdate<T> returningMulti(@NonNull @NonNull jakarta.persistence.criteria.Selection<?>... selections)
      The returning result of the query.
      Parameters:
      selections - The multi selection to return
      Returns:
      The update criteria.
      Since:
      4.2.0
    • returningMulti

      @NonNull @NonNull PersistentEntityCriteriaUpdate<T> returningMulti(@NonNull @NonNull List<jakarta.persistence.criteria.Selection<?>> selectionList)
      The returning result of the query.
      Parameters:
      selectionList - The multi selection to return
      Returns:
      The update criteria.
      Since:
      4.2.0