Package org.hibernate.loader.ast.spi
Interface MultiLoadOptions
- All Known Subinterfaces:
MultiIdLoadOptions
,MultiNaturalIdLoadOptions
public interface MultiLoadOptions
Base contract for options for multi-load operations
-
Method Summary
Modifier and TypeMethodDescriptionBatch size to use when loading entities from the database.Specify the lock options applied during loading.Whether the result should be ordered relative to the order of identifiers to load.How should entities in removed status be handled.default boolean
Deprecated, for removal: This API element is subject to removal in a future version.Use getOrderingMode() instead.default boolean
Deprecated, for removal: This API element is subject to removal in a future version.Use getRemovalsMode() instead.
-
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, 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, 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
-