| Modifier and Type | Method and Description |
|---|---|
| public PersistentAttributeInterceptable | createEnhancedProxy(EntityKey keyToLoad, boolean addEmptyEntry, SharedSessionContractImplementor session)
Create an "enhancement as proxy" instance for the given entity |
| public LazyAttributeLoadingInterceptor | Returns: The extracted interceptorThe entity from which to extract the interceptor entity)
Deprecated
as a consequence of
Extract the field interceptor instance from the enhanced entity.
LazyAttributeLoadingInterceptor being deprecated.
|
| public BytecodeLazyAttributeInterceptor | extractLazyInterceptor(Object entity)
Deprecated
as a consequence of
BytecodeLazyAttributeInterceptor being deprecated.
|
| public String | |
| public LazyAttributesMetadata | |
| public boolean | |
| public void | injectEnhancedEntityAsProxyInterceptor(Object entity, EntityKey entityKey, SharedSessionContractImplementor session)
|
| public LazyAttributeLoadingInterceptor | Returns: The built and injected interceptorThe entity into which built interceptor should be injected entity, Object identifier, SharedSessionContractImplementor The session to which the entity instance belongs. session)
Deprecated
as a consequence of
Build and inject an interceptor instance into the enhanced entity.
LazyAttributeLoadingInterceptor being deprecated.
|
| public void | injectInterceptor(Object entity, PersistentAttributeInterceptor interceptor, SharedSessionContractImplementor session)
Deprecated
as a consequence of
PersistentAttributeInterceptor being deprecated.
|
| public boolean | |
| public boolean | Returns: true indicates the entity class is enhanced for Hibernate use
in lazy loading; false indicates it is notHas the entity class been bytecode enhanced for lazy loading? |
| createEnhancedProxy | back to summary |
|---|---|
| public PersistentAttributeInterceptable createEnhancedProxy(EntityKey keyToLoad, boolean addEmptyEntry, SharedSessionContractImplementor session) Create an "enhancement as proxy" instance for the given entity API Note The `addEmptyEntry` parameter is used to avoid creation of `EntityEntry` instances when we do not need them. - mainly from StatelessSession | |
| extractInterceptor | back to summary |
|---|---|
| public LazyAttributeLoadingInterceptor extractInterceptor(Object entity) throws NotInstrumentedException
Deprecated as a consequence of Extract the field interceptor instance from the enhanced entity.
| |
| extractLazyInterceptor | back to summary |
|---|---|
| public BytecodeLazyAttributeInterceptor extractLazyInterceptor(Object entity) throws NotInstrumentedException
Deprecated as a consequence of | |
| getEntityName | back to summary |
|---|---|
| public String getEntityName() The name of the entity to which this metadata applies.
| |
| getLazyAttributesMetadata | back to summary |
|---|---|
| public LazyAttributesMetadata getLazyAttributesMetadata() | |
| hasUnFetchedAttributes | back to summary |
|---|---|
| public boolean hasUnFetchedAttributes(Object entity) | |
| injectEnhancedEntityAsProxyInterceptor | back to summary |
|---|---|
| public void injectEnhancedEntityAsProxyInterceptor(Object entity, EntityKey entityKey, SharedSessionContractImplementor session) | |
| injectInterceptor | back to summary |
|---|---|
| public LazyAttributeLoadingInterceptor injectInterceptor(Object entity, Object identifier, SharedSessionContractImplementor session) throws NotInstrumentedException
Deprecated as a consequence of Build and inject an interceptor instance into the enhanced entity.
| |
| injectInterceptor | back to summary |
|---|---|
| public void injectInterceptor(Object entity, PersistentAttributeInterceptor interceptor, SharedSessionContractImplementor session)
Deprecated as a consequence of | |
| isAttributeLoaded | back to summary |
|---|---|
| public boolean isAttributeLoaded(Object entity, String attributeName) | |
| isEnhancedForLazyLoading | back to summary |
|---|---|
| public boolean isEnhancedForLazyLoading() Has the entity class been bytecode enhanced for lazy loading?
| |