Interface MultiLoadOptions

All Known Subinterfaces:
MultiIdLoadOptions, MultiNaturalIdLoadOptions

public interface MultiLoadOptions
Base contract for options for multi-load operations
  • Method Details

    • getRemovalsMode

      RemovalsMode getRemovalsMode()
      How should entities in removed status be handled.
      Since:
      7.2
    • getOrderingMode

      OrderingMode getOrderingMode()
      Whether the result should be ordered relative to the order of identifiers to load.
      Since:
      7.2
    • isReturnOfDeletedEntitiesEnabled

      @Deprecated(since="7.2", forRemoval=true) default boolean isReturnOfDeletedEntitiesEnabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use getRemovalsMode() instead.
      Should we returned entities that are scheduled for deletion.
      Returns:
      entities that are scheduled for deletion are returned as well.
    • isOrderReturnEnabled

      @Deprecated(since="7.2", forRemoval=true) default boolean isOrderReturnEnabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use getOrderingMode() instead.
      Should the entities be returned in the same order as their associated entity identifiers were provided.
      Returns:
      entities follow the provided identifier order
    • getLockOptions

      LockOptions getLockOptions()
      Specify the lock options applied during loading.
      Returns:
      lock options applied during loading.
    • getBatchSize

      Integer getBatchSize()
      Batch size to use when loading entities from the database.
      Returns:
      JDBC batch size