Uses of Interface
org.hibernate.NaturalIdMultiLoadAccess
-
Packages that use NaturalIdMultiLoadAccess Package Description org.hibernate This package defines the central Hibernate APIs, beginning withSessionFactory, which represents an instance of Hibernate at runtime and is the source of new instances ofSessionandStatelessSession, the most important APIs exposing persistence-related operations for entities.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate. -
-
Uses of NaturalIdMultiLoadAccess in org.hibernate
Methods in org.hibernate that return NaturalIdMultiLoadAccess Modifier and Type Method Description <T> NaturalIdMultiLoadAccess<T>Session. byMultipleNaturalId(Class<T> entityClass)Create aMultiIdentifierLoadAccessinstance to retrieve multiple instances of the given entity type by their by natural id values, using batching.<T> NaturalIdMultiLoadAccess<T>Session. byMultipleNaturalId(String entityName)Create aMultiIdentifierLoadAccessinstance to retrieve multiple instances of the named entity type by their by natural id values, using batching.NaturalIdMultiLoadAccess<T>NaturalIdMultiLoadAccess. enableOrderedReturn(boolean enabled)Should the returned list of entity instances be ordered, with the position of an entity instance determined by the position of its identifier in the list if ids passed tomultiLoad(java.lang.Object...)?NaturalIdMultiLoadAccess<T>NaturalIdMultiLoadAccess. enableReturnOfDeletedEntities(boolean enabled)ShouldmultiLoad(java.lang.Object...)return entity instances that have beenmarked for removalin the current session, but not yetdeleted in the database?NaturalIdMultiLoadAccess<T>NaturalIdMultiLoadAccess. with(CacheMode cacheMode)Specify theCacheModeto use when obtaining an entity.default NaturalIdMultiLoadAccess<T>NaturalIdMultiLoadAccess. with(RootGraph<T> graph)Deprecated.NaturalIdMultiLoadAccess<T>NaturalIdMultiLoadAccess. with(RootGraph<T> graph, GraphSemantic semantic)Customize the associations fetched by specifying an entity graph, and how it should be interpreted.NaturalIdMultiLoadAccess<T>NaturalIdMultiLoadAccess. with(LockOptions lockOptions)Specify the lock options to use when querying the database.NaturalIdMultiLoadAccess<T>NaturalIdMultiLoadAccess. withBatchSize(int batchSize)Specify a batch size, that is, how many entities should be fetched in each request to the database.default NaturalIdMultiLoadAccess<T>NaturalIdMultiLoadAccess. withFetchGraph(RootGraph<T> graph)Override the associations fetched by default by specifying the complete list of associations to be fetched as an entity graph.default NaturalIdMultiLoadAccess<T>NaturalIdMultiLoadAccess. withLoadGraph(RootGraph<T> graph)Augment the associations fetched by default by specifying a list of additional associations to be fetched as an entity graph. -
Uses of NaturalIdMultiLoadAccess in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return NaturalIdMultiLoadAccess Modifier and Type Method Description <T> NaturalIdMultiLoadAccess<T>SessionDelegatorBaseImpl. byMultipleNaturalId(Class<T> entityClass)<T> NaturalIdMultiLoadAccess<T>SessionDelegatorBaseImpl. byMultipleNaturalId(String entityName)<T> NaturalIdMultiLoadAccess<T>SessionLazyDelegator. byMultipleNaturalId(Class<T> entityClass)<T> NaturalIdMultiLoadAccess<T>SessionLazyDelegator. byMultipleNaturalId(String entityName)
-