Uses of Interface
org.hibernate.NaturalIdLoadAccess
-
Packages that use NaturalIdLoadAccess 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 NaturalIdLoadAccess in org.hibernate
Methods in org.hibernate that return NaturalIdLoadAccess Modifier and Type Method Description <T> NaturalIdLoadAccess<T>Session. byNaturalId(Class<T> entityClass)Create aNaturalIdLoadAccessinstance to retrieve an instance of the given entity type by its natural id, which may be a composite natural id.<T> NaturalIdLoadAccess<T>Session. byNaturalId(String entityName)Create aNaturalIdLoadAccessinstance to retrieve an instance of the named entity type by its natural id, which may be a composite natural id.NaturalIdLoadAccess<T>NaturalIdLoadAccess. disableFetchProfile(String profileName)Customize the associations fetched by specifying a fetch profile that should be disabled during this operation.NaturalIdLoadAccess<T>NaturalIdLoadAccess. enableFetchProfile(String profileName)Customize the associations fetched by specifying a fetch profile that should be enabled during this operation.NaturalIdLoadAccess<T>NaturalIdLoadAccess. setSynchronizationEnabled(boolean enabled)Determines if cached natural id cross-references are synchronized before query execution with unflushed modifications made in memory to mutable natural ids.<X> NaturalIdLoadAccess<T>NaturalIdLoadAccess. using(SingularAttribute<? super T,X> attribute, X value)Add a@NaturalIdattribute value in a typesafe way.NaturalIdLoadAccess<T>NaturalIdLoadAccess. using(Object... mappings)Deprecated.useusing(Map)withMap.of(), which is slightly more typesafeNaturalIdLoadAccess<T>NaturalIdLoadAccess. using(String attributeName, Object value)Add a@NaturalIdattribute value.NaturalIdLoadAccess<T>NaturalIdLoadAccess. using(Map<String,?> mappings)Set multiple@NaturalIdattribute values at once.NaturalIdLoadAccess<T>NaturalIdLoadAccess. with(RootGraph<T> graph, GraphSemantic semantic)Customize the associations fetched by specifying an entity graph, and how it should be interpreted.NaturalIdLoadAccess<T>NaturalIdLoadAccess. with(LockOptions lockOptions)Specify the lock options to use when querying the database.default NaturalIdLoadAccess<T>NaturalIdLoadAccess. 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 NaturalIdLoadAccess<T>NaturalIdLoadAccess. 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 NaturalIdLoadAccess in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return NaturalIdLoadAccess Modifier and Type Method Description <T> NaturalIdLoadAccess<T>SessionDelegatorBaseImpl. byNaturalId(Class<T> entityClass)<T> NaturalIdLoadAccess<T>SessionDelegatorBaseImpl. byNaturalId(String entityName)<T> NaturalIdLoadAccess<T>SessionLazyDelegator. byNaturalId(Class<T> entityClass)<T> NaturalIdLoadAccess<T>SessionLazyDelegator. byNaturalId(String entityName)
-