Package org.hibernate.persister.entity
Interface MultiLoadOptions
-
public interface MultiLoadOptions
Encapsulation 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.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.boolean
isSecondLevelCacheCheckingEnabled()
Check the second-level cache first, and only if the entity is not found in the cache should Hibernate hit the database.boolean
isSessionCheckingEnabled()
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
-
-