Package org.hibernate.loader.ast.spi
Interface MultiIdLoadOptions
-
- All Superinterfaces:
MultiLoadOptions
public interface MultiIdLoadOptions extends MultiLoadOptions
Encapsulation of the options for loading multiple entities by id
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.-
Methods inherited from interface org.hibernate.loader.ast.spi.MultiLoadOptions
getBatchSize, getLockOptions, isOrderReturnEnabled, isReturnOfDeletedEntitiesEnabled
-
-
-
-
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
-
-