Uses of Class
org.hibernate.engine.spi.EntityKey
-
Packages that use EntityKey Package Description org.hibernate.action.internal The various concrete action implementations.org.hibernate.bytecode.enhance.spi.interceptor Support for bytecode interceptor implementations.org.hibernate.bytecode.internal org.hibernate.bytecode.spi Package defining bytecode code enhancement (instrumentation) support.org.hibernate.engine.internal Support for many of the internal workings of Hibernate.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.event.internal This package defines a default set of event listeners that implement the default behaviors of Hibernate session operations.org.hibernate.event.spi Defines the event types and event listener interfaces for events produced by the statefulSession.org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate.org.hibernate.internal.log org.hibernate.internal.util Internal utility classesorg.hibernate.loader.ast.internal org.hibernate.sql.exec.spi SPI for execution of SQL statements via JDBC.org.hibernate.sql.results.graph.embeddable.internal org.hibernate.sql.results.graph.entity org.hibernate.sql.results.graph.entity.internal org.hibernate.sql.results.internal org.hibernate.sql.results.jdbc.internal org.hibernate.sql.results.jdbc.spi org.hibernate.sql.results.spi -
-
Uses of EntityKey in org.hibernate.action.internal
Methods in org.hibernate.action.internal that return EntityKey Modifier and Type Method Description protected EntityKeyEntityIdentityInsertAction. generateDelayedEntityKey()protected abstract EntityKeyAbstractEntityInsertAction. getEntityKey()Returns theEntityKey.protected EntityKeyEntityIdentityInsertAction. getEntityKey()protected EntityKeyEntityInsertAction. getEntityKey()Methods in org.hibernate.action.internal with parameters of type EntityKey Modifier and Type Method Description protected voidEntityIdentityInsertAction. setEntityKey(EntityKey entityKey) -
Uses of EntityKey in org.hibernate.bytecode.enhance.spi.interceptor
Methods in org.hibernate.bytecode.enhance.spi.interceptor that return EntityKey Modifier and Type Method Description EntityKeyEnhancementAsProxyLazinessInterceptor. getEntityKey()Constructors in org.hibernate.bytecode.enhance.spi.interceptor with parameters of type EntityKey Constructor Description EnhancementAsProxyLazinessInterceptor(String entityName, Set<String> identifierAttributeNames, CompositeType nonAggregatedCidMapper, EntityKey entityKey, SharedSessionContractImplementor session) -
Uses of EntityKey in org.hibernate.bytecode.internal
Methods in org.hibernate.bytecode.internal with parameters of type EntityKey Modifier and Type Method Description PersistentAttributeInterceptableBytecodeEnhancementMetadataNonPojoImpl. createEnhancedProxy(EntityKey keyToLoad, boolean addEmptyEntry, SharedSessionContractImplementor session)PersistentAttributeInterceptableBytecodeEnhancementMetadataPojoImpl. createEnhancedProxy(EntityKey entityKey, boolean addEmptyEntry, SharedSessionContractImplementor session)voidBytecodeEnhancementMetadataNonPojoImpl. injectEnhancedEntityAsProxyInterceptor(Object entity, EntityKey entityKey, SharedSessionContractImplementor session)voidBytecodeEnhancementMetadataPojoImpl. injectEnhancedEntityAsProxyInterceptor(Object entity, EntityKey entityKey, SharedSessionContractImplementor session) -
Uses of EntityKey in org.hibernate.bytecode.spi
Methods in org.hibernate.bytecode.spi with parameters of type EntityKey Modifier and Type Method Description PersistentAttributeInterceptableBytecodeEnhancementMetadata. createEnhancedProxy(EntityKey keyToLoad, boolean addEmptyEntry, SharedSessionContractImplementor session)Create an "enhancement as proxy" instance for the given entityvoidBytecodeEnhancementMetadata. injectEnhancedEntityAsProxyInterceptor(Object entity, EntityKey entityKey, SharedSessionContractImplementor session) -
Uses of EntityKey in org.hibernate.engine.internal
Fields in org.hibernate.engine.internal declared as EntityKey Modifier and Type Field Description protected EntityKeyAbstractEntityEntry. cachedEntityKeyMethods in org.hibernate.engine.internal that return EntityKey Modifier and Type Method Description EntityKeyAbstractEntityEntry. getEntityKey()Methods in org.hibernate.engine.internal that return types with arguments of type EntityKey Modifier and Type Method Description Map<EntityKey,Object>StatefulPersistenceContext. getEntitiesByKey()Deprecated.this will be removed: it provides too wide access, making it hard to optimise the internals for specific access needs.Methods in org.hibernate.engine.internal with parameters of type EntityKey Modifier and Type Method Description voidStatefulPersistenceContext. addEnhancedProxy(EntityKey key, PersistentAttributeInterceptable entity)EntityEntryStatefulPersistenceContext. addEntity(Object entity, Status status, Object[] loadedState, EntityKey entityKey, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement)voidStatefulPersistenceContext. addEntity(EntityKey key, Object entity)voidStatefulPersistenceContext. addNullProperty(EntityKey ownerKey, String propertyName)voidStatefulPersistenceContext. addProxy(EntityKey key, Object proxy)static voidTwoPhaseLoad. addUninitializedCachedEntity(EntityKey key, Object object, EntityPersister persister, LockMode lockMode, Object version, SharedSessionContractImplementor session)voidStatefulPersistenceContext. checkUniqueness(EntityKey key, Object object)booleanStatefulPersistenceContext. containsDeletedUnloadedEntityKey(EntityKey ek)booleanStatefulPersistenceContext. containsEntity(EntityKey key)Object[]StatefulPersistenceContext. getCachedDatabaseSnapshot(EntityKey key)ObjectStatefulPersistenceContext. getEntity(EntityKey key)ObjectStatefulPersistenceContext. getProxy(EntityKey key)booleanStatefulPersistenceContext. isPropertyNull(EntityKey ownerKey, String propertyName)ObjectStatefulPersistenceContext. narrowProxy(Object proxy, EntityPersister persister, EntityKey key, Object object)ObjectStatefulPersistenceContext. proxyFor(EntityPersister persister, EntityKey key, Object impl)voidStatefulPersistenceContext. registerDeletedUnloadedEntityKey(EntityKey key)voidStatefulPersistenceContext. registerNullifiableEntityKey(EntityKey key)static voidBatchFetchQueueHelper. removeBatchLoadableEntityKey(EntityKey entityKey, SharedSessionContractImplementor session)Remove the entity key with the specifiedidandpersisterfrom the batch loadable entitiesBatchFetchQueue.voidStatefulPersistenceContext. removeDeletedUnloadedEntityKey(EntityKey key)ObjectStatefulPersistenceContext. removeEntity(EntityKey key)ObjectStatefulPersistenceContext. removeProxy(EntityKey key)voidStatefulPersistenceContext. replaceDelayedEntityIdentityInsertKeys(EntityKey oldKey, Object generatedId)Method parameters in org.hibernate.engine.internal with type arguments of type EntityKey Modifier and Type Method Description booleanStatefulPersistenceContext. containsNullifiableEntityKey(Supplier<EntityKey> sek) -
Uses of EntityKey in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return EntityKey Modifier and Type Method Description static EntityKeyEntityKey. deserialize(ObjectInputStream ois, SessionFactoryImplementor sessionFactory)Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance.EntityKeySessionDelegatorBaseImpl. generateEntityKey(Object id, EntityPersister persister)EntityKeySharedSessionContractImplementor. generateEntityKey(Object id, EntityPersister persister)Instantiate anEntityKeywith the given id and for the entity represented by the givenEntityPersister.EntityKeySharedSessionDelegatorBaseImpl. generateEntityKey(Object id, EntityPersister persister)EntityKeyEntityEntry. getEntityKey()Get theEntityKeyfor this entry.Methods in org.hibernate.engine.spi that return types with arguments of type EntityKey Modifier and Type Method Description Map<EntityKey,Object>PersistenceContext. getEntitiesByKey()Doubly internalSet<EntityKey>SubselectFetch. getResultingEntityKeys()The entity-keys of all owners loaded from a particular execution Used for "empty collection" handling mostlyMethods in org.hibernate.engine.spi with parameters of type EntityKey Modifier and Type Method Description voidBatchFetchQueue. addBatchLoadableEntityKey(EntityKey key)If an EntityKey represents a batch loadable entity, add it to the queue.voidPersistenceContext. addEnhancedProxy(EntityKey key, PersistentAttributeInterceptable entity)Cross betweenPersistenceContext.addEntity(EntityKey, Object)andPersistenceContext.addProxy(EntityKey, Object)for use with enhancement-as-proxyEntityEntryPersistenceContext. addEntity(Object entity, Status status, Object[] loadedState, EntityKey entityKey, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement)Adds an entity to the internal caches.voidPersistenceContext. addEntity(EntityKey key, Object entity)Add a canonical mapping from entity key to entity instancevoidSubselectFetch.RegistrationHandler. addKey(EntityKey key, LoadingEntityEntry entry)voidSubselectFetch.StandardRegistrationHandler. addKey(EntityKey key, LoadingEntityEntry entry)voidPersistenceContext. addNullProperty(EntityKey ownerKey, String propertyName)Record the fact that the association belonging to the keyed entity is null.voidPersistenceContext. addProxy(EntityKey key, Object proxy)Add a proxy to the session cachevoidBatchFetchQueue. addSubselect(EntityKey key, SubselectFetch subquery)Adds a subselect fetch descriptor for the given entity key.voidPersistenceContext. checkUniqueness(EntityKey key, Object object)Attempts to check whether the given key represents an entity already loaded within the current session.booleanPersistenceContext. containsDeletedUnloadedEntityKey(EntityKey ek)booleanPersistenceContext. containsEntity(EntityKey key)Is there an entity with the given key in the persistence contextbooleanBatchFetchQueue. containsEntityKey(EntityKey key)Intended for test usage.voidSessionDelegatorBaseImpl. forceFlush(EntityKey e)voidSessionImplementor. forceFlush(EntityKey e)Initiate a flush to force deletion of a re-persisted entity.Object[]PersistenceContext. getCachedDatabaseSnapshot(EntityKey key)Retrieve the cached database snapshot for the requested entity key.ObjectPersistenceContext. getEntity(EntityKey key)Get the entity instance associated with the given keyObjectSessionDelegatorBaseImpl. getEntityUsingInterceptor(EntityKey key)ObjectSharedSessionContractImplementor. getEntityUsingInterceptor(EntityKey key)Get the entity instance associated with the givenEntityKey, calling theInterceptorif necessary.ObjectSharedSessionDelegatorBaseImpl. getEntityUsingInterceptor(EntityKey key)ObjectPersistenceContext. getProxy(EntityKey key)Get an existing proxy by keySubselectFetchBatchFetchQueue. getSubselect(EntityKey key)Retrieve the fetch descriptor associated with the given entity key.booleanPersistenceContext. isPropertyNull(EntityKey ownerKey, String propertyName)Is the association property belonging to the keyed entity null?ObjectPersistenceContext. narrowProxy(Object proxy, EntityPersister persister, EntityKey key, Object object)If the existing proxy is insufficiently "narrow" (derived), instantiate a new proxy and overwrite the registration of the old one.ObjectPersistenceContext. proxyFor(EntityPersister persister, EntityKey key, Object impl)Return the existing proxy associated with the givenEntityKey, or the third argument (the entity associated with the key) if no proxy exists.voidPersistenceContext. registerDeletedUnloadedEntityKey(EntityKey key)voidPersistenceContext. registerNullifiableEntityKey(EntityKey key)Registers anEntityKeyas nullifiable on thisPersistenceContext.voidBatchFetchQueue. removeBatchLoadableEntityKey(EntityKey key)After evicting or deleting or loading an entity, we don't need to batch fetch it anymore, remove it from the queue if necessaryvoidPersistenceContext. removeDeletedUnloadedEntityKey(EntityKey key)ObjectPersistenceContext. removeEntity(EntityKey key)Remove an entity.ObjectPersistenceContext. removeProxy(EntityKey key)Remove a proxy from the session cache.voidBatchFetchQueue. removeSubselect(EntityKey key)After evicting or deleting an entity, we don't need to know the query that was used to load it anymore (don't call this after loading the entity, since we might still need to load its collections)voidPersistenceContext. replaceDelayedEntityIdentityInsertKeys(EntityKey oldKey, Object generatedId)Method parameters in org.hibernate.engine.spi with type arguments of type EntityKey Modifier and Type Method Description booleanPersistenceContext. containsNullifiableEntityKey(Supplier<EntityKey> sek)Checks if a certainEntityKeywas registered as nullifiable on thisPersistenceContext.Constructors in org.hibernate.engine.spi with parameters of type EntityKey Constructor Description AssociationKey(EntityKey ownerKey, String propertyName)Constructs an AssociationKeyConstructor parameters in org.hibernate.engine.spi with type arguments of type EntityKey Constructor Description SubselectFetch(QuerySpec loadingSqlAst, TableGroup ownerTableGroup, JdbcParametersList loadingJdbcParameters, JdbcParameterBindings loadingJdbcParameterBindings, Set<EntityKey> resultingEntityKeys) -
Uses of EntityKey in org.hibernate.event.internal
Methods in org.hibernate.event.internal with parameters of type EntityKey Modifier and Type Method Description protected voidDefaultEvictEventListener. doEvict(Object object, EntityKey key, EntityPersister persister, EventSource session)protected ObjectAbstractSaveEventListener. performSaveOrReplicate(Object entity, EntityKey key, EntityPersister persister, boolean useIdentityColumn, C context, EventSource source, boolean requiresImmediateIdAccess)Performs all the actual work needed to save an entity (well to get the save moved to the execution queue). -
Uses of EntityKey in org.hibernate.event.spi
Methods in org.hibernate.event.spi with parameters of type EntityKey Modifier and Type Method Description voidEventSource. forceFlush(EntityKey e)Force an immediate flush -
Uses of EntityKey in org.hibernate.internal
Methods in org.hibernate.internal that return EntityKey Modifier and Type Method Description EntityKeyAbstractSharedSessionContract. generateEntityKey(Object id, EntityPersister persister)Methods in org.hibernate.internal with parameters of type EntityKey Modifier and Type Method Description voidSessionImpl. forceFlush(EntityKey key)ObjectSessionImpl. getEntityUsingInterceptor(EntityKey key)ObjectStatelessSessionImpl. getEntityUsingInterceptor(EntityKey key) -
Uses of EntityKey in org.hibernate.internal.log
Methods in org.hibernate.internal.log with parameters of type EntityKey Modifier and Type Method Description static StringLoggingHelper. toLoggableString(EntityKey entityKey) -
Uses of EntityKey in org.hibernate.internal.util
Method parameters in org.hibernate.internal.util with type arguments of type EntityKey Modifier and Type Method Description voidEntityPrinter. toString(Iterable<Map.Entry<EntityKey,Object>> entitiesByEntityKey) -
Uses of EntityKey in org.hibernate.loader.ast.internal
Methods in org.hibernate.loader.ast.internal with parameters of type EntityKey Modifier and Type Method Description voidMultiIdEntityLoaderArrayParam.ResolutionConsumer. consume(int position, EntityKey entityKey, T resolvedRef)ObjectCacheEntityLoaderHelper. loadFromSecondLevelCache(EventSource source, Object entity, LockMode lockMode, EntityPersister persister, EntityKey entityKey)Attempts to load the entity from the second-level cache.ObjectCacheEntityLoaderHelper. loadFromSecondLevelCache(LoadEvent event, EntityPersister persister, EntityKey entityKey)Attempts to load the entity from the second-level cache.CacheEntityLoaderHelper.PersistenceContextEntryCacheEntityLoaderHelper. loadFromSessionCache(EntityKey keyToLoad, LoadEventListener.LoadType options, LockOptions lockOptions, EventSource session)CacheEntityLoaderHelper.PersistenceContextEntryCacheEntityLoaderHelper. loadFromSessionCache(LoadEvent event, EntityKey keyToLoad, LoadEventListener.LoadType options)Attempts to locate the entity in the session-level cache.static CacheEntityLoaderHelper.PersistenceContextEntryCacheEntityLoaderHelper. loadFromSessionCacheStatic(LoadEvent event, EntityKey keyToLoad, LoadEventListener.LoadType options)Attempts to locate the entity in the session-level cache. -
Uses of EntityKey in org.hibernate.sql.exec.spi
Methods in org.hibernate.sql.exec.spi with parameters of type EntityKey Modifier and Type Method Description default voidExecutionContext. registerLoadingEntityEntry(EntityKey entityKey, LoadingEntityEntry entry)static ObjectStandardEntityInstanceResolver. resolveEntityInstance(EntityKey entityKey, boolean eager, SharedSessionContractImplementor session) -
Uses of EntityKey in org.hibernate.sql.results.graph.embeddable.internal
Methods in org.hibernate.sql.results.graph.embeddable.internal with parameters of type EntityKey Modifier and Type Method Description voidNestedRowProcessingState. registerLoadingEntityEntry(EntityKey entityKey, LoadingEntityEntry entry) -
Uses of EntityKey in org.hibernate.sql.results.graph.entity
Methods in org.hibernate.sql.results.graph.entity that return EntityKey Modifier and Type Method Description EntityKeyAbstractEntityInitializer. getEntityKey()EntityKeyEntityInitializer. getEntityKey()EntityKeyLoadingEntityEntry. getEntityKey()Constructors in org.hibernate.sql.results.graph.entity with parameters of type EntityKey Constructor Description LoadingEntityEntry(EntityInitializer entityInitializer, EntityKey entityKey, EntityPersister descriptor, Object entityInstance) -
Uses of EntityKey in org.hibernate.sql.results.graph.entity.internal
Fields in org.hibernate.sql.results.graph.entity.internal declared as EntityKey Modifier and Type Field Description protected EntityKeyAbstractBatchEntitySelectFetchInitializer. entityKeyMethods in org.hibernate.sql.results.graph.entity.internal that return EntityKey Modifier and Type Method Description EntityKeyAbstractBatchEntitySelectFetchInitializer. getEntityKey()EntityKeyEntityDelayedFetchInitializer. getEntityKey()EntityKeyEntitySelectFetchInitializer. getEntityKey()Methods in org.hibernate.sql.results.graph.entity.internal with parameters of type EntityKey Modifier and Type Method Description protected static ObjectAbstractBatchEntitySelectFetchInitializer. loadInstance(EntityKey entityKey, ToOneAttributeMapping referencedModelPart, SharedSessionContractImplementor session)protected static voidBatchEntityInsideEmbeddableSelectFetchInitializer. setInstance(EntityInitializer entityInitializer, ToOneAttributeMapping referencedModelPart, String rootEmbeddablePropertyName, int propertyIndex, Object loadedInstance, Object embeddableParentInstance, EntityKey parentEntityKey, EntityEntry parentEntityEntry, SharedSessionContractImplementor session) -
Uses of EntityKey in org.hibernate.sql.results.internal
Methods in org.hibernate.sql.results.internal with parameters of type EntityKey Modifier and Type Method Description voidRowProcessingStateStandardImpl. registerLoadingEntityEntry(EntityKey entityKey, LoadingEntityEntry entry) -
Uses of EntityKey in org.hibernate.sql.results.jdbc.internal
Methods in org.hibernate.sql.results.jdbc.internal with parameters of type EntityKey Modifier and Type Method Description LoadingEntityEntryJdbcValuesSourceProcessingStateStandardImpl. findLoadingEntityLocally(EntityKey entityKey)voidJdbcValuesSourceProcessingStateStandardImpl. registerLoadingEntity(EntityKey entityKey, LoadingEntityEntry loadingEntry)voidJdbcValuesSourceProcessingStateStandardImpl. registerReloadedEntity(EntityKey entityKey, LoadingEntityEntry loadingEntry) -
Uses of EntityKey in org.hibernate.sql.results.jdbc.spi
Methods in org.hibernate.sql.results.jdbc.spi with parameters of type EntityKey Modifier and Type Method Description LoadingEntityEntryJdbcValuesSourceProcessingState. findLoadingEntityLocally(EntityKey entityKey)Find a LoadingEntityEntry locally to this context.voidJdbcValuesSourceProcessingState. registerLoadingEntity(EntityKey entityKey, LoadingEntityEntry loadingEntry)Registers a LoadingEntityEntry locally to this contextvoidJdbcValuesSourceProcessingState. registerReloadedEntity(EntityKey entityKey, LoadingEntityEntry loadingEntry) -
Uses of EntityKey in org.hibernate.sql.results.spi
Methods in org.hibernate.sql.results.spi with parameters of type EntityKey Modifier and Type Method Description LoadingEntityEntryLoadContexts. findLoadingEntityEntry(EntityKey entityKey)
-