Package org.hibernate.persister.entity
Interface MultiLoadOptions
-
public interface MultiLoadOptionsEncapsulation of the options for performing a load by multiple identifiers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.IntegergetBatchSize()Batch size to use when loading entities from the database.LockOptionsgetLockOptions()Specify the lock options applied during loading.booleanisOrderReturnEnabled()Should the entities be returned in the same order as their associated entity identifiers were provided.booleanisReturnOfDeletedEntitiesEnabled()Should we returned entities that are scheduled for deletion.booleanisSecondLevelCacheCheckingEnabled()Check the second-level cache first, and only if the entity is not found in the cache should Hibernate hit the database.booleanisSessionCheckingEnabled()Check the first-level cache first, and only if the entity is not found in the cache should Hibernate hit the database.
-
-
-
Method Detail
-
isSessionCheckingEnabled
boolean isSessionCheckingEnabled()
Check the first-level cache first, and only if the entity is not found in the cache should Hibernate hit the database.- Returns:
- the session cache is checked first
-
isSecondLevelCacheCheckingEnabled
boolean isSecondLevelCacheCheckingEnabled()
Check the second-level cache first, and only if the entity is not found in the cache should Hibernate hit the database.- Returns:
- the session factory cache is checked first
-
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
java.lang.Integer getBatchSize()
Batch size to use when loading entities from the database.- Returns:
- JDBC batch size
-
-