Class AutoBatchUpdateQuery.AutoBatchPreUpdateContext<E>

Type Parameters:
E - the entity type
All Implemented Interfaces:
PreUpdateContext<E>
Enclosing class:
AutoBatchUpdateQuery<ENTITY>

protected static class AutoBatchUpdateQuery.AutoBatchPreUpdateContext<E> extends AbstractPreUpdateContext<E>
A context class for pre-update processing in batch update operations.

This class provides context information for the pre-update phase of batch update operations.

  • Constructor Details

    • AutoBatchPreUpdateContext

      public AutoBatchPreUpdateContext(EntityType<E> entityType, Method method, Config config)
      Constructs a new instance.
      Parameters:
      entityType - the entity type
      method - the method
      config - the configuration
  • Method Details

    • isEntityChanged

      public boolean isEntityChanged()
      Indicates whether the entity has been changed.

      This method always returns true for batch update operations.

      Returns:
      true
      See Also:
    • isPropertyChanged

      public boolean isPropertyChanged(String propertyName)
      Indicates whether the specified property has been changed.

      This method always returns true for batch update operations.

      Parameters:
      propertyName - the property name
      Returns:
      true
      Throws:
      IllegalArgumentException - if the property is not defined in the entity
      See Also: