Top Description Methods
org.hibernate.persister.entity

public Interface MultiLoadOptions

Known Direct Implementers
org.hibernate.internal.SessionImpl.MultiIdentifierLoadAccessImpl
Imports
org.hibernate.LockOptions

Encapsulation of the options for performing a load by multiple identifiers.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Integer

Returns:

JDBC batch size
getBatchSize
()

Batch size to use when loading entities from the database.

public LockOptions

Returns:

lock options applied during loading.
getLockOptions
()

Specify the lock options applied during loading.

public boolean

Returns:

entities follow the provided identifier order
isOrderReturnEnabled
()

Should the entities be returned in the same order as their associated entity identifiers were provided.

public boolean

Returns:

entities that are scheduled for deletion are returned as well.
isReturnOfDeletedEntitiesEnabled
()

Should we returned entities that are scheduled for deletion.

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.

Method Detail

getBatchSizeback to summary
public Integer getBatchSize()

Batch size to use when loading entities from the database.

Returns:Integer

JDBC batch size

getLockOptionsback to summary
public LockOptions getLockOptions()

Specify the lock options applied during loading.

Returns:LockOptions

lock options applied during loading.

isOrderReturnEnabledback to summary
public boolean isOrderReturnEnabled()

Should the entities be returned in the same order as their associated entity identifiers were provided.

Returns:boolean

entities follow the provided identifier order

isReturnOfDeletedEntitiesEnabledback to summary
public boolean isReturnOfDeletedEntitiesEnabled()

Should we returned entities that are scheduled for deletion.

Returns:boolean

entities that are scheduled for deletion are returned as well.

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