Top Description Methods
org.hibernate.loader.ast.spi

public Interface MultiIdLoadOptions

extends MultiLoadOptions
Known Direct Implementers
org.hibernate.internal.MultiIdentifierLoadAccessImpl

Encapsulation of the options for loading multiple entities by id

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

the session factory cache is checked first
isSecondLevelCacheCheckingEnabled
()

Check the second-level cache first, and only if the entity is not found in the cache should Hibernate hit the database.

public boolean

Returns:

the session cache is checked first
isSessionCheckingEnabled
()

Check the first-level cache first, and only if the entity is not found in the cache should Hibernate hit the database.

Inherited from org.hibernate.loader.ast.spi.MultiLoadOptions:
getBatchSizegetLockOptionsisOrderReturnEnabledisReturnOfDeletedEntitiesEnabled

Method Detail

isSecondLevelCacheCheckingEnabledback to summary
public 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:boolean

the session factory cache is checked first

isSessionCheckingEnabledback to summary
public 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:boolean

the session cache is checked first