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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Integer
getBatchSize()
Batch size to use when loading entities from the database.LockOptions
getLockOptions()
Specify the lock options applied during loading.boolean
isOrderReturnEnabled()
Should the entities be returned in the same order as their associated entity identifiers were provided.boolean
isReturnOfDeletedEntitiesEnabled()
Should we returned entities that are scheduled for deletion.
-
-
-
Method Detail
-
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
-
-