Class ReactiveEnhancementAsProxyLazinessInterceptor
java.lang.Object
org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor
org.hibernate.bytecode.enhance.spi.interceptor.EnhancementAsProxyLazinessInterceptor
org.hibernate.reactive.bythecode.enhance.spi.interceptor.ReactiveEnhancementAsProxyLazinessInterceptor
- All Implemented Interfaces:
BytecodeLazyAttributeInterceptor,SessionAssociableInterceptor,LazyPropertyInitializer.InterceptorImplementor,PersistentAttributeInterceptor
public class ReactiveEnhancementAsProxyLazinessInterceptor
extends EnhancementAsProxyLazinessInterceptor
Reactive version of
EnhancementAsProxyLazinessInterceptor.
It throws a LazyInitializationException when a lazy attribute
is not fetched using Mutiny.fetch(Object)
or Stage.fetch(Object) but transparently-
Nested Class Summary
Nested classes/interfaces inherited from class org.hibernate.bytecode.enhance.spi.interceptor.EnhancementAsProxyLazinessInterceptor
EnhancementAsProxyLazinessInterceptor.EntityRelatedState -
Constructor Summary
ConstructorsConstructorDescriptionReactiveEnhancementAsProxyLazinessInterceptor(EnhancementAsProxyLazinessInterceptor.EntityRelatedState meta, EntityKey entityKey, SharedSessionContractImplementor session) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjecthandleRead(Object target, String attributeName, Object value) Methods inherited from class org.hibernate.bytecode.enhance.spi.interceptor.EnhancementAsProxyLazinessInterceptor
attributeInitialized, forceInitialize, forceInitialize, getEntityKey, getEntityName, getIdentifier, getInitializedLazyAttributeNames, handleWrite, hasAnyUninitializedAttributes, hasWrittenFieldNames, isAttributeLoaded, isIdentifier, isInitialized, isInitializing, setInitializingMethods inherited from class org.hibernate.bytecode.enhance.spi.interceptor.AbstractInterceptor
allowLoadOutsideTransaction, getLinkedSession, getSessionFactoryUuid, readBoolean, readByte, readChar, readDouble, readFloat, readInt, readLong, readObject, readShort, setSession, unsetSession, writeBoolean, writeByte, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeObject, writeShortMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.engine.spi.PersistentAttributeInterceptor
readBoolean, readByte, readChar, readDouble, readFloat, readInt, readLong, readObject, readShort, writeBoolean, writeByte, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeObject, writeShortMethods inherited from interface org.hibernate.bytecode.enhance.spi.interceptor.SessionAssociableInterceptor
allowLoadOutsideTransaction, getLinkedSession, getSessionFactoryUuid, setSession, unsetSession
-
Constructor Details
-
Method Details
-
handleRead
- Overrides:
handleReadin classEnhancementAsProxyLazinessInterceptor
-