Interface MultiLoadOptions


  • public interface MultiLoadOptions
    Encapsulation of the options for performing a load by multiple identifiers.
    • 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