Package org.hibernate.loader.ast.spi
Interface MultiLoadOptions
- All Known Subinterfaces:
MultiIdLoadOptions
,MultiNaturalIdLoadOptions
- All Known Implementing Classes:
NaturalIdMultiLoadAccessStandard
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.boolean
Should the entities be returned in the same order as their associated entity identifiers were provided.boolean
Should we returned entities that are scheduled for deletion.
-
Method Details
-
isReturnOfDeletedEntitiesEnabled
boolean isReturnOfDeletedEntitiesEnabled()Should we returned entities that are scheduled for deletion.- Returns:
- entities that are scheduled for deletion are returned as well.
-
isOrderReturnEnabled
boolean isOrderReturnEnabled()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
-